diff options
author | 2025-02-08 04:04:30 -0800 | |
---|---|---|
committer | 2025-02-08 13:04:30 +0100 | |
commit | e10de8464ae577d0a917482d01e7e01fbaf63460 (patch) | |
tree | 4fb48ed5fe37e5f7faa417ab79c98ff62178d48f /internal/api/model | |
parent | [chore] Update drone + goreleaser (#3742) (diff) | |
download | gotosocial-e10de8464ae577d0a917482d01e7e01fbaf63460.tar.xz |
[bug] Add missing `group` property to the Account model (#3746)
* Stub out account's Group parameter
* Fix typo in Contributing documentation
* Update swagger and match style
* Update the swagger command to mimic test/swagger.sh
* Fix tests for new `group` param in Account model
* More test changes for new `group` param in Account
* Continuing test changes for `group` param stubbing
* Another round of `group` stubbing for tests
Diffstat (limited to 'internal/api/model')
-rw-r--r-- | internal/api/model/account.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/model/account.go b/internal/api/model/account.go index a27033d5d..d14ef9047 100644 --- a/internal/api/model/account.go +++ b/internal/api/model/account.go @@ -126,6 +126,8 @@ type Account struct { // If set, indicates that this account is currently inactive, and has migrated to the given account. // Key/value omitted for accounts that haven't moved, and for suspended accounts. Moved *Account `json:"moved,omitempty"` + // Account identifies as a Group actor. + Group bool `json:"group"` } // WebAccount is like Account, but with |