From 57524862359e739c9334c1a6d9be77881bbfc492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Sch=C3=B6n?= Date: Sat, 10 Dec 2022 10:15:51 +0100 Subject: [PATCH] auth: fix invalid json tag in InternalAuth --- auth/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/middleware.go b/auth/middleware.go index 5cce228..361bb62 100644 --- a/auth/middleware.go +++ b/auth/middleware.go @@ -217,7 +217,7 @@ type InternalAuth struct { NodeID string `json:"node_id"` // Only used by specific meta.sr.ht routes - OAuthClientUUID string `json:"oauth_client_id,omit-empty"` + OAuthClientUUID string `json:"oauth_client_id,omitempty"` } func internalAuth(internalNet []*net.IPNet, payload []byte,