mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-06-07 05:57:41 +00:00
#1 response code changed
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
4b553830b0
commit
8b0d8d27e3
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,6 @@ export const createList = <RouteOptions>{
|
|||
handler: async (request: GetBySlugUrlTextRequest, reply: FastifyReply) => {
|
||||
request.log.debug(request.body)
|
||||
const item = await wishlist.create(request.body as Wishlist)
|
||||
return item
|
||||
reply.code(201).send(item)
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue