mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-05 03:53:17 -06:00
rename actions package
This commit is contained in:
parent
e773bba875
commit
175107f6a3
55 changed files with 116 additions and 116 deletions
|
|
@ -76,10 +76,10 @@ func (p *Processor) createDomainAllow(
|
|||
AccountID: adminAcct.ID,
|
||||
}
|
||||
|
||||
if errWithCode := p.state.Actions.Run(
|
||||
if errWithCode := p.state.AdminActions.Run(
|
||||
ctx,
|
||||
action,
|
||||
p.state.Actions.DomainAllowF(action.ID, domainAllow),
|
||||
p.state.AdminActions.DomainAllowF(action.ID, domainAllow),
|
||||
); errWithCode != nil {
|
||||
return nil, action.ID, errWithCode
|
||||
}
|
||||
|
|
@ -132,10 +132,10 @@ func (p *Processor) deleteDomainAllow(
|
|||
AccountID: adminAcct.ID,
|
||||
}
|
||||
|
||||
if errWithCode := p.state.Actions.Run(
|
||||
if errWithCode := p.state.AdminActions.Run(
|
||||
ctx,
|
||||
action,
|
||||
p.state.Actions.DomainUnallowF(action.ID, domainAllow),
|
||||
p.state.AdminActions.DomainUnallowF(action.ID, domainAllow),
|
||||
); errWithCode != nil {
|
||||
return nil, action.ID, errWithCode
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue