Skip to content

Commit

Permalink
Omit empty invite links
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Nov 9, 2023
1 parent e975fbd commit 41e372c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/sciencemesh/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type token struct {
Token string `json:"token"`
Description string `json:"description,omitempty"`
Expiration uint64 `json:"expiration,omitempty"`
InviteLink string `json:"invite_link"`
InviteLink string `json:"invite_link,omitempty"`
}

// Generate generates an invitation token and if a recipient is specified,
Expand Down

0 comments on commit 41e372c

Please sign in to comment.