Skip to content

Commit

Permalink
fix: wrong return value in the verify
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillafanez committed Jul 23, 2024
1 parent 6222494 commit 990539e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/collaboration/pkg/proofkeys/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (vh *VerifyHandler) Verify(accessToken, url, timestamp, sig64, oldSig64 str
var oldSignature []byte
if oldSig64 != "" {
if oldSig, err := base64.StdEncoding.DecodeString(oldSig64); err != nil {
return nil
return err
} else {
oldSignature = oldSig
}
Expand Down

0 comments on commit 990539e

Please sign in to comment.