Skip to content

Commit

Permalink
paseto: Update response struct
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r authored Apr 22, 2024
1 parent 86027a1 commit da06151
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/v1/authenticate/paseto/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit da06151

Please sign in to comment.