This commit is contained in:
Shotaro Nakamura
2026-06-19 21:42:56 +09:00
parent b843a5ff38
commit 46f5856230
2 changed files with 2 additions and 1 deletions
@@ -49,6 +49,7 @@ export const listApiKeys = async (db: Db) =>
revokedAt: apiKeys.revokedAt,
})
.from(apiKeys)
.where(isNull(apiKeys.revokedAt))
.orderBy(apiKeys.createdAt)
export const createApiKey = async (db: Db, label: string, settings: ApiKeySettings = {}) => {