diff options
Diffstat (limited to 'service/auth.go')
-rw-r--r-- | service/auth.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/service/auth.go b/service/auth.go index 78934fd..f127f5c 100644 --- a/service/auth.go +++ b/service/auth.go @@ -162,6 +162,15 @@ 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, + id string, q string, offset int) (err error) { + err = s.authenticateClient(ctx, c) + if err != nil { + return + } + return s.Service.ServeUserSearchPage(ctx, c, id, q, offset) +} + func (s *as) ServeSettingsPage(ctx context.Context, c *model.Client) (err error) { err = s.authenticateClient(ctx, c) if err != nil { |