Skip to content

Commit 8dd89fd

Browse files
committed
fix: send response via reply in GET /:slug route
1 parent 05a9c40 commit 8dd89fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/routes/team.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export async function teamRoutes(app: FastifyInstance): Promise<void> {
144144
members
145145
}
146146

147-
return response;
147+
return reply.status(200).send(response);
148148
} catch (error) {
149149
app.log.error(error);
150150
return reply.status(500).send('Database query failed')

0 commit comments

Comments
 (0)