diff --git a/src/handlers/implants.ts b/src/handlers/implants.ts index 42cd9beb5ae547a8cf3a2e0f932259ebba1f7156..ed4063dd8c52935b39ff85b8d14274fc27bab0ce 100644 --- a/src/handlers/implants.ts +++ b/src/handlers/implants.ts @@ -186,7 +186,9 @@ export default class implant { }) .returning() - return res.status(200).json({ message: 'Implant bought successfully', purchase, user: updated_user }) + return res + .status(200) + .json({ message: 'Implant bought successfully', purchase, user: updated_user, success: true }) } catch (error) { console.error(error) return res.status(500).json({ error: 'Erro ao realizar a compra' })