From da06151c3b90d5ae5ff7cb92783c569d4575cebc Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Mon, 22 Apr 2024 21:41:53 +0530 Subject: [PATCH] paseto: Update response struct --- api/v1/authenticate/paseto/types.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/v1/authenticate/paseto/types.go b/api/v1/authenticate/paseto/types.go index b2c1956..0bcf28b 100644 --- a/api/v1/authenticate/paseto/types.go +++ b/api/v1/authenticate/paseto/types.go @@ -5,5 +5,10 @@ type GenericAuthHeaders struct { } type webappResponse struct { - WalletAddress string `json:"walletAddress"` + Status int `json:"status"` + Message string `json:"message"` + Payload struct { + UserID string `json:"userId"` + WalletAddress string `json:"walletAddress"` + } `json:"payload"` }