mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 00:26:15 -06:00
thanks linter, love you <3
This commit is contained in:
parent
00038c471f
commit
bb55ffcb8a
4 changed files with 8 additions and 8 deletions
|
|
@ -38,7 +38,7 @@ import (
|
|||
func (a *Actions) DomainAllowF(
|
||||
actionID string,
|
||||
domainAllow *gtsmodel.DomainAllow,
|
||||
) AdminActionF {
|
||||
) ActionF {
|
||||
return func(ctx context.Context) gtserror.MultiError {
|
||||
l := log.
|
||||
WithContext(ctx).
|
||||
|
|
@ -104,7 +104,7 @@ func (a *Actions) domainAllowSideEffects(
|
|||
func (a *Actions) DomainUnallowF(
|
||||
actionID string,
|
||||
domainAllow *gtsmodel.DomainAllow,
|
||||
) AdminActionF {
|
||||
) ActionF {
|
||||
return func(ctx context.Context) gtserror.MultiError {
|
||||
l := log.
|
||||
WithContext(ctx).
|
||||
|
|
@ -169,7 +169,7 @@ func (a *Actions) domainUnallowSideEffects(
|
|||
func (a *Actions) DomainBlockF(
|
||||
actionID string,
|
||||
domainBlock *gtsmodel.DomainBlock,
|
||||
) AdminActionF {
|
||||
) ActionF {
|
||||
return func(ctx context.Context) gtserror.MultiError {
|
||||
l := log.
|
||||
WithContext(ctx).
|
||||
|
|
@ -250,7 +250,7 @@ func (a *Actions) domainBlockSideEffects(
|
|||
func (a *Actions) DomainUnblockF(
|
||||
actionID string,
|
||||
domainBlock *gtsmodel.DomainBlock,
|
||||
) AdminActionF {
|
||||
) ActionF {
|
||||
return func(ctx context.Context) gtserror.MultiError {
|
||||
l := log.
|
||||
WithContext(ctx).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue