From 99671f85b661d0c5c654747c9ca9b940ada3921e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 24 Aug 2021 16:16:24 +0200 Subject: [PATCH] webhooks: add comment clarifying field usage --- webhooks/queue.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webhooks/queue.go b/webhooks/queue.go index 7c660ee2152f2b0266ef99a967772a7dbe700cb1..b250eb6f2264091bb029f840f956ea631a65de50 100644 --- a/webhooks/queue.go +++ b/webhooks/queue.go @@ -31,12 +31,13 @@ type WebhookSubscription struct { ID int URL string Query string + // See AuthConfig in webhooks/config.go for an explanation of these fields AuthMethod string TokenHash *string Grants *string ClientID *string - NodeID *string Expires *time.Time + NodeID *string } // Creates a new worker for delivering webhooks. The caller must start the