From a28e150201e9d4a6b89c9c318c79907fce5652ac Mon Sep 17 00:00:00 2001
From: Ricardo <ricardofaria170@gmail.com>
Date: Thu, 17 Apr 2025 09:49:57 -0300
Subject: [PATCH] FIX implant buy message

---
 src/handlers/implants.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/handlers/implants.ts b/src/handlers/implants.ts
index 42cd9be..ed4063d 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' })
-- 
GitLab