gitsrht-update-hook: update hex array as well
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht-update-hook/webhooks.go
M gitsrht-update-hook/webhooks.go => gitsrht-update-hook/webhooks.go +1 -1
@@ 78,7 78,7 @@ func deliverWebhooks(subs []WebhookSubscription, for _, sub := range subs { var ( nonceSeed []byte = make([]byte, 8) - nonceHex []byte + nonceHex []byte = make([]byte, 16) ) _, err := rand.Read(nonceSeed) if err != nil {