From d06895eede660d93da6bc806e94974f2604c74aa Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sat, 31 Jan 2026 00:46:37 -0700 Subject: [PATCH] Fix uploading icons --- src/routes/berrydash/icon-marketplace/upload/post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/berrydash/icon-marketplace/upload/post.ts b/src/routes/berrydash/icon-marketplace/upload/post.ts index 3590fb7..aac1541 100644 --- a/src/routes/berrydash/icon-marketplace/upload/post.ts +++ b/src/routes/berrydash/icon-marketplace/upload/post.ts @@ -102,7 +102,7 @@ export async function handler (context: Context) { connection1, 'Price cannot be be under 10 coins' ) - if (!/^[a-zA-Z0-9 ]+$/.test(btoa(body.name))) + if (!/^[a-zA-Z0-9 ]+$/.test(body.name)) return exitBecauseInvalid(connection0, connection1, 'Name is invalid') const decoded = Buffer.from(body.fileContent, 'base64') if (!decoded)