thanks linter, love you <3

This commit is contained in:
tobi 2025-01-07 18:29:18 +01:00
commit bb55ffcb8a
4 changed files with 8 additions and 8 deletions

View file

@ -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).