mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Get uploads working again
This commit is contained in:
parent
61476591f8
commit
6997c852f9
2 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ async function withHandler(
|
|||
cb: (handler: DiscordEventHandler) => Promise<void>
|
||||
) {
|
||||
const handler = new DiscordEventHandler();
|
||||
await handler._clientPromise; // Ensure client is initialized
|
||||
try {
|
||||
await cb(handler);
|
||||
} finally {
|
||||
|
|
|
|||
|
|
@ -411,6 +411,7 @@ export async function getErroredUpload(): Promise<{
|
|||
.where("status", "ERRORED")
|
||||
.where("skin_md5", "!=", "c7df44bde6eb3671bde5a03e6d03ce1e")
|
||||
.where("skin_md5", "!=", "fedc564eb2ce0a4ec5518b93983240ef")
|
||||
.where("skin_md5", "!=", "a418fd00583006b6e79cf0b251c43771")
|
||||
.first(["skin_md5", "id", "filename"]);
|
||||
return found || null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue