Switch back to just using uuids for marketplace icons, can't convert properly

This commit is contained in:
2026-01-24 13:32:12 -07:00
parent 06a3e983ca
commit a759758bad
6 changed files with 24 additions and 46 deletions

View File

@@ -172,10 +172,10 @@ export async function handler (context: Context) {
)
const hashResult = hash(atob(body.fileContent), 'sha512')
const uuid = crypto.randomUUID()
const id = crypto.randomUUID()
await db1.insert(berryDashMarketplaceIcons).values({
uuid,
id,
userId,
data: body.fileContent,
hash: hashResult,