Alexander Belanger 4 vuotta sitten
vanhempi
sitoutus
dfabe6f235
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      ee/billing/ironplans.go

+ 1 - 1
ee/billing/ironplans.go

@@ -209,7 +209,7 @@ func (c *Client) GetIDToken(projectID uint, user *cemodels.User) (token string,
 	return token, nil
 	return token, nil
 }
 }
 
 
-// VerifySignature verifies a webhook signature based on hmac protocal
+// VerifySignature verifies a webhook signature based on hmac protocol
 // https://docs.ironplans.com/webhook-events/webhook-events
 // https://docs.ironplans.com/webhook-events/webhook-events
 func (c *Client) VerifySignature(signature string, body []byte) bool {
 func (c *Client) VerifySignature(signature string, body []byte) bool {
 	if len(signature) != 71 || !strings.HasPrefix(signature, "sha256=") {
 	if len(signature) != 71 || !strings.HasPrefix(signature, "sha256=") {