From b5993095fad2d18ce29e92b0ae1e5e1450bd7f4a Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 16 Feb 2023 14:20:23 +0100 Subject: [bugfix] Set 'discoverable' properly on API accounts (#1511) --- internal/api/model/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/model/account.go') diff --git a/internal/api/model/account.go b/internal/api/model/account.go index 8199532ca..ddfe6cc3a 100644 --- a/internal/api/model/account.go +++ b/internal/api/model/account.go @@ -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). -- cgit v1.2.3