auth: fix invalid json tag in InternalAuth

This commit is contained in:
Dennis Schön 2022-12-10 10:15:51 +01:00 committed by Drew DeVault
parent 2fd72e9f66
commit 5752486235
1 changed files with 1 additions and 1 deletions

View File

@ -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,