aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-01 11:31:44 +0000
committerr <r@freesoftwareextremist.com>2020-02-01 11:31:44 +0000
commit9cf648eaa3c2d158cc4aafda73738f7fe173ca84 (patch)
treee4d6f69bc405a5c12d59df1a91a5d6d1536e2423 /service
parente73df8de9ab5a00aa377d5cd7cfe335e06774ea0 (diff)
downloadbloat-9cf648eaa3c2d158cc4aafda73738f7fe173ca84.tar.gz
bloat-9cf648eaa3c2d158cc4aafda73738f7fe173ca84.zip
Use vendored dependencies
Diffstat (limited to 'service')
-rw-r--r--service/auth.go6
-rw-r--r--service/service.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/service/auth.go b/service/auth.go
index bc4ddbf..5ffe9ea 100644
--- a/service/auth.go
+++ b/service/auth.go
@@ -5,8 +5,8 @@ import (
"errors"
"mime/multipart"
+ "bloat/mastodon"
"bloat/model"
- "mastodon"
)
var (
@@ -110,7 +110,7 @@ func (s *as) ServeNotificationPage(ctx context.Context, c *model.Client,
return s.Service.ServeNotificationPage(ctx, c, maxID, minID)
}
-func (s *as) ServeUserPage(ctx context.Context, c *model.Client, id string,
+func (s *as) ServeUserPage(ctx context.Context, c *model.Client, id string,
pageType string, maxID string, minID string) (err error) {
err = s.authenticateClient(ctx, c)
if err != nil {
@@ -144,7 +144,7 @@ func (s *as) ServeSearchPage(ctx context.Context, c *model.Client, q string,
return s.Service.ServeSearchPage(ctx, c, q, qType, offset)
}
-func (s *as) ServeUserSearchPage(ctx context.Context, c *model.Client,
+func (s *as) ServeUserSearchPage(ctx context.Context, c *model.Client,
id string, q string, offset int) (err error) {
err = s.authenticateClient(ctx, c)
if err != nil {
diff --git a/service/service.go b/service/service.go
index ae480d1..ab6261e 100644
--- a/service/service.go
+++ b/service/service.go
@@ -8,10 +8,10 @@ import (
"net/url"
"strings"
+ "bloat/mastodon"
"bloat/model"
"bloat/renderer"
"bloat/util"
- "mastodon"
)
var (