diff options
Diffstat (limited to 'internal/db/mention.go')
-rw-r--r-- | internal/db/mention.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/mention.go b/internal/db/mention.go index 348f946a2..d4125031e 100644 --- a/internal/db/mention.go +++ b/internal/db/mention.go @@ -26,10 +26,10 @@ import ( // Mention contains functions for getting/creating mentions in the database. type Mention interface { // GetMention gets a single mention by ID - GetMention(ctx context.Context, id string) (*gtsmodel.Mention, Error) + GetMention(ctx context.Context, id string) (*gtsmodel.Mention, error) // GetMentions gets multiple mentions. - GetMentions(ctx context.Context, ids []string) ([]*gtsmodel.Mention, Error) + GetMentions(ctx context.Context, ids []string) ([]*gtsmodel.Mention, error) // PutMention will insert the given mention into the database. PutMention(ctx context.Context, mention *gtsmodel.Mention) error |