Alexander Belanger 4 лет назад
Родитель
Сommit
dfabe6f235
1 измененных файлов с 1 добавлено и 1 удалено
  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
 }
 
-// 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
 func (c *Client) VerifySignature(signature string, body []byte) bool {
 	if len(signature) != 71 || !strings.HasPrefix(signature, "sha256=") {