Skip to content

Commit

Permalink
chore: change to non-deprecated signature for fastify (#3830)
Browse files Browse the repository at this point in the history
change to non-deprecated signature
  • Loading branch information
juliusmarminge committed Feb 20, 2023
1 parent 11daf25 commit 9125521
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/fastify-server/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function createServer(opts: ServerOptions) {
};
const start = async () => {
try {
await server.listen(port);
await server.listen({ port });
console.log('listening on port', port);
} catch (err) {
server.log.error(err);
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/server/adapters/fastify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function createServer(opts: ServerOptions) {
};
const start = async () => {
try {
await instance.listen(config.port);
await instance.listen({ port: config.port });
} catch (err) {
instance.log.error(err);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/server/interop/adapters/fastify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function createServer(opts: ServerOptions) {
};
const start = async () => {
try {
await instance.listen(config.port);
await instance.listen({ port: config.port });
} catch (err) {
instance.log.error(err);
}
Expand Down

3 comments on commit 9125521

@vercel
Copy link

@vercel vercel bot commented on 9125521 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

www – ./www

www-git-main-trpc.vercel.app
trpc.io
beta.trpc.io
www-trpc.vercel.app
www.trpc.io
alpha.trpc.io

@vercel
Copy link

@vercel vercel bot commented on 9125521 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

og-image – ./www/og-image

og-image-trpc.vercel.app
og-image-three-neon.vercel.app
og-image.trpc.io
og-image-git-main-trpc.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9125521 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-prisma-starter – ./examples/next-prisma-starter

next-prisma-starter-git-main-trpc.vercel.app
next-prisma-starter-trpc.vercel.app
nextjs.trpc.io

Please sign in to comment.