summaryrefslogtreecommitdiff
path: root/internal/processing/processor.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-15 17:36:15 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-15 17:36:15 +0100
commit6bf39d0fc1286bdf2f4760adab52c6eff234d01d (patch)
treee4916598a7a14eab4336909c5fec1de6ed8ad0d4 /internal/processing/processor.go
parentstart fixing up emoji processing code (diff)
downloadgotosocial-6bf39d0fc1286bdf2f4760adab52c6eff234d01d.tar.xz
emoji code passing muster
Diffstat (limited to 'internal/processing/processor.go')
-rw-r--r--internal/processing/processor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/processor.go b/internal/processing/processor.go
index 2626c1fea..2406681ea 100644
--- a/internal/processing/processor.go
+++ b/internal/processing/processor.go
@@ -96,7 +96,7 @@ type Processor interface {
AccountBlockRemove(ctx context.Context, authed *oauth.Auth, targetAccountID string) (*apimodel.Relationship, gtserror.WithCode)
// AdminEmojiCreate handles the creation of a new instance emoji by an admin, using the given form.
- AdminEmojiCreate(ctx context.Context, authed *oauth.Auth, form *apimodel.EmojiCreateRequest) (*apimodel.Emoji, error)
+ AdminEmojiCreate(ctx context.Context, authed *oauth.Auth, form *apimodel.EmojiCreateRequest) (*apimodel.Emoji, gtserror.WithCode)
// AdminDomainBlockCreate handles the creation of a new domain block by an admin, using the given form.
AdminDomainBlockCreate(ctx context.Context, authed *oauth.Auth, form *apimodel.DomainBlockCreateRequest) (*apimodel.DomainBlock, gtserror.WithCode)
// AdminDomainBlocksImport handles the import of multiple domain blocks by an admin, using the given form.