diff options
author | r <r@freesoftwareextremist.com> | 2019-12-21 05:48:48 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-21 05:48:48 +0000 |
commit | 2648484a1de4443fdb748edb144c90c4a7a37472 (patch) | |
tree | 1bc612d580501ea57688b845f50c5e7bd908c70d /service/auth.go | |
parent | 889f8da49637e908f203d6d9d195f7d585f8cd03 (diff) | |
download | bloat-2648484a1de4443fdb748edb144c90c4a7a37472.tar.gz bloat-2648484a1de4443fdb748edb144c90c4a7a37472.zip |
Add about page
Diffstat (limited to 'service/auth.go')
-rw-r--r-- | service/auth.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/auth.go b/service/auth.go index 2b6fdd6..3cdf357 100644 --- a/service/auth.go +++ b/service/auth.go @@ -127,6 +127,14 @@ func (s *authService) ServeUserPage(ctx context.Context, client io.Writer, c *ma return s.Service.ServeUserPage(ctx, client, c, id, maxID, minID) } +func (s *authService) ServeAboutPage(ctx context.Context, client io.Writer, c *mastodon.Client) (err error) { + c, err = s.getClient(ctx) + if err != nil { + return + } + return s.Service.ServeAboutPage(ctx, client, c) +} + func (s *authService) Like(ctx context.Context, client io.Writer, c *mastodon.Client, id string) (err error) { c, err = s.getClient(ctx) if err != nil { |