fix(backend): correct paths to export endpoints

This commit is contained in:
sam 2023-03-16 16:49:40 +00:00
parent a1d3431770
commit 05919e4ecd

View file

@ -27,8 +27,8 @@ func Mount(srv *server.Server, r chi.Router) {
r.Patch("/@me", server.WrapHandler(s.patchUser)) r.Patch("/@me", server.WrapHandler(s.patchUser))
r.Delete("/@me", server.WrapHandler(s.deleteUser)) r.Delete("/@me", server.WrapHandler(s.deleteUser))
r.Get("/export/start", server.WrapHandler(s.startExport)) r.Get("/@me/export/start", server.WrapHandler(s.startExport))
r.Get("/export", server.WrapHandler(s.getExport)) r.Get("/@me/export", server.WrapHandler(s.getExport))
}) })
}) })
} }