~edwargix/git.sr.ht

4014870a700b4d3216263619cbf98a2f8b2d4b9c — Drew DeVault 5 years ago 05f0b46
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 {