move JWT validation to package

This commit is contained in:
Devin Zuczek
2026-07-09 20:14:23 -04:00
parent cb48cefa7d
commit bdebc50075
35 changed files with 102 additions and 530 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ import {
updateAccount,
} from '@repo/domain'
import { logger, withNotFound, withOnError } from '@repo/hono-helpers'
import { validateAndGetAccountId } from './jwt'
import { validateAndGetAccountId } from '@repo/jwt'
import type { Context } from 'hono'
import type { Account } from '@repo/domain'