Move from storing tokens in Berry Dash Database to Lncvrt Games Database

This commit is contained in:
2026-01-29 19:20:24 -07:00
parent 29b60e567f
commit 024b651c52
17 changed files with 32 additions and 64 deletions

View File

@@ -5,7 +5,7 @@ import {
hash,
jsonResponse
} from '../../../../lib/util'
import { checkAuthorization } from '../../../../lib/bd/auth'
import { checkAuthorization } from '../../../../lib/auth'
import { berryDashMarketplaceIcons, verifyCodes } from '../../../../lib/tables'
import { and, desc, eq, sql } from 'drizzle-orm'
import { Buffer } from 'buffer'
@@ -61,7 +61,6 @@ export async function handler (context: Context) {
const authorizationToken = context.headers.authorization
const authResult = await checkAuthorization(
authorizationToken as string,
db1,
db0,
ip
)