mirror of https://git.sr.ht/~sircmpwn/core-go
auth: fix invalid json tag in InternalAuth
This commit is contained in:
parent
2fd72e9f66
commit
5752486235
|
@ -217,7 +217,7 @@ type InternalAuth struct {
|
||||||
NodeID string `json:"node_id"`
|
NodeID string `json:"node_id"`
|
||||||
|
|
||||||
// Only used by specific meta.sr.ht routes
|
// 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,
|
func internalAuth(internalNet []*net.IPNet, payload []byte,
|
||||||
|
|
Loading…
Reference in New Issue