From e10de8464ae577d0a917482d01e7e01fbaf63460 Mon Sep 17 00:00:00 2001 From: pnwmatt <180812017+pnwmatt@users.noreply.github.com> Date: Sat, 8 Feb 2025 04:04:30 -0800 Subject: [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 --- internal/api/model/account.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/api/model') 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 -- cgit v1.2.3