Skip to content

Commit

Permalink
chore: remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
crispgm committed Jan 3, 2024
1 parent a8b3ec7 commit 34d26e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion card.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (opt LarkMiddleware) LarkCardHandler() gin.HandlerFunc {
timestamp := c.Request.Header.Get("X-Lark-Request-Timestamp")
signature := c.Request.Header.Get("X-Lark-Signature")
token := opt.cardSignature(nonce, timestamp, string(body), opt.verificationToken)
log.Println(token, signature)
if signature != token {
log.Println("Token verification failed")
return
Expand Down

0 comments on commit 34d26e3

Please sign in to comment.