Skip to content

Commit 27c602a

Browse files
Remove comments
1 parent 15e0756 commit 27c602a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

api/auth_middleware.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const (
1818
func (app *ApiServer) recoverAuthorityFromSignatureHeaders(c *fiber.Ctx) (int32, string) {
1919
message := c.Get(messageHeader)
2020
signature := c.Get(signatureHeader)
21-
fmt.Println("message", message)
22-
fmt.Println("signature", signature)
2321
if message == "" || signature == "" {
2422
return 0, ""
2523
}
@@ -71,7 +69,6 @@ func (app *ApiServer) getAuthedWallet(c *fiber.Ctx) string {
7169

7270
// Middleware to set authedUserId and authedWallet in context
7371
func (app *ApiServer) authMiddleware(c *fiber.Ctx) error {
74-
fmt.Println("authMiddleware")
7572
userId, wallet := app.recoverAuthorityFromSignatureHeaders(c)
7673
c.Locals("authedUserId", userId)
7774
c.Locals("authedWallet", wallet)

0 commit comments

Comments
 (0)