mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
More logging for webhooks
This commit is contained in:
@@ -216,6 +216,7 @@ func (h handler) webhook(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !valid {
|
if !valid {
|
||||||
|
log.Printf("! webhooks signatures are not equal (header: %s)", signature)
|
||||||
c.Status(http.StatusUnauthorized)
|
c.Status(http.StatusUnauthorized)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user