diff options
author | 2025-01-08 22:38:27 +0100 | |
---|---|---|
committer | 2025-01-08 22:38:27 +0100 | |
commit | 8daa4dae3435e45b4367c9d59bfa27a063fba2d4 (patch) | |
tree | 9d2c937b79e001c98e9499c65d2a1346000a895a /internal/typeutils/internaltofrontend.go | |
parent | [feature] Fetch + create domain permissions from subscriptions nightly (#3635) (diff) | |
download | gotosocial-8daa4dae3435e45b4367c9d59bfa27a063fba2d4.tar.xz |
[bugfix] More permissive CSV parsing for perm subs, text parse fix (#3638)
* [bugfix] More permissive CSV parsing for perm subs, text parse fix
* wee
* change the way dry works, slightly
* me oh my, i'm just a little guy
* we're just normal men
Diffstat (limited to 'internal/typeutils/internaltofrontend.go')
-rw-r--r-- | internal/typeutils/internaltofrontend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltofrontend.go b/internal/typeutils/internaltofrontend.go index 2af479125..cdc250f98 100644 --- a/internal/typeutils/internaltofrontend.go +++ b/internal/typeutils/internaltofrontend.go @@ -2115,7 +2115,7 @@ func (c *Converter) DomainPermToAPIDomainPerm( } domainPerm.ID = d.GetID() - domainPerm.Obfuscate = *d.GetObfuscate() + domainPerm.Obfuscate = util.PtrOrZero(d.GetObfuscate()) domainPerm.PrivateComment = d.GetPrivateComment() domainPerm.SubscriptionID = d.GetSubscriptionID() domainPerm.CreatedBy = d.GetCreatedByAccountID() |