Skip to content

Commit

Permalink
remove debugging log
Browse files Browse the repository at this point in the history
  • Loading branch information
golangisfun123 committed Apr 30, 2024
1 parent df7ffc6 commit 0b7b3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/screener-api/screener/screener.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (s *screenerImpl) authMiddleware() gin.HandlerFunc {
expected := client.GenerateSignature("appsecret", appid, timestamp, nonce, queryString, blacklistBody)

if c.GetHeader("Signature") != expected {
c.JSON(http.StatusUnauthorized, gin.H{"error": "unauthorized your mom"})
c.JSON(http.StatusUnauthorized, gin.H{"error": "unauthorized"})
c.Abort()
return
}

Check warning on line 209 in contrib/screener-api/screener/screener.go

View check run for this annotation

Codecov / codecov/patch

contrib/screener-api/screener/screener.go#L206-L209

Added lines #L206 - L209 were not covered by tests
Expand Down

0 comments on commit 0b7b3e9

Please sign in to comment.