mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-31 23:22:24 -05:00
[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
This commit is contained in:
parent
65917f5bb9
commit
312cb8b9c7
7 changed files with 26 additions and 26 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue