Skip to content

Commit

Permalink
test fresh install
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 4, 2024
1 parent 0631993 commit 71c757b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ export async function setupRoutes(server: FastifyInstance): Promise<void> {
| { error: string }
> => {
try {

const { signature, payload } = request.body;
server.log.info('Creating session with payload:', payload);
const session = await validateAndCreateSession(
Expand Down
6 changes: 3 additions & 3 deletions src/types/fastify.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { FastifyInstance as BaseFastifyInstance } from 'fastify'
import { Database } from '../database'
import { FastifyInstance as BaseFastifyInstance } from 'fastify';
import { Database } from '../database';

declare module 'fastify' {
export interface FastifyInstance extends BaseFastifyInstance {
db: Database
db: Database;
}
}

0 comments on commit 71c757b

Please sign in to comment.