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 {
jsonResponse
} from '../../../../lib/util'
import { berryDashChatroomReports } from '../../../../lib/tables'
import { checkAuthorization } from '../../../../lib/bd/auth'
import { checkAuthorization } from '../../../../lib/auth'
import { and, eq } from 'drizzle-orm'
type Body = {
@@ -29,7 +29,6 @@ export async function handler (context: Context) {
const authorizationToken = context.headers.authorization
const authResult = await checkAuthorization(
authorizationToken as string,
db1,
db0,
ip
)