diff options
author | 2024-11-28 11:54:22 +0000 | |
---|---|---|
committer | 2024-11-28 12:54:22 +0100 | |
commit | 312cb8b9c7e13802613fef33124a4570427e75a7 (patch) | |
tree | 68f3efe630a8e93e09be2ea34b929a14c64184eb /internal/processing | |
parent | [bugfix] Log + ignore unknown notification types (#3577) (diff) | |
download | gotosocial-312cb8b9c7e13802613fef33124a4570427e75a7.tar.xz |
[chore] rename New___(string) int signature functions to Parse___(string) int (#3580)
* rename New___(string) int {} signature functions to Parse___(string) int {}
* remove test output
Diffstat (limited to 'internal/processing')
-rw-r--r-- | internal/processing/admin/accountaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/admin/accountaction.go b/internal/processing/admin/accountaction.go index 7fd1047c4..59d4b420e 100644 --- a/internal/processing/admin/accountaction.go +++ b/internal/processing/admin/accountaction.go @@ -40,7 +40,7 @@ func (p *Processor) AccountAction( return "", gtserror.NewErrorInternalError(err) } - switch gtsmodel.NewAdminActionType(request.Type) { + switch gtsmodel.ParseAdminActionType(request.Type) { case gtsmodel.AdminActionSuspend: return p.accountActionSuspend(ctx, adminAcct, targetAcct, request.Text) |