Get uploads working again

This commit is contained in:
Jordan Eldredge 2025-12-26 19:17:46 +00:00
parent 61476591f8
commit 6997c852f9
2 changed files with 2 additions and 0 deletions

View file

@ -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 {

View file

@ -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;
}