[bugfix] Set 'discoverable' properly on API accounts (#1511)

This commit is contained in:
tobi
2023-02-16 14:20:23 +01:00
committed by GitHub
parent 6ee0dc8c7d
commit b5993095fa
10 changed files with 87 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ type Account struct {
// Account manually approves follow requests.
Locked bool `json:"locked"`
// Account has opted into discovery features.
Discoverable bool `json:"discoverable,omitempty"`
Discoverable bool `json:"discoverable"`
// Account identifies as a bot.
Bot bool `json:"bot"`
// When the account was created (ISO 8601 Datetime).