wip: me panel.

This commit is contained in:
2022-01-07 18:04:59 +08:00
parent 048c54e080
commit 85a7d36fda
45 changed files with 2776 additions and 67 deletions
@@ -84,7 +84,7 @@ Future configureServer(Angel app) async {
chain(
[
jwtMiddleware(),
(req, res) => req.user.blocked == false ? res.noContent() : res.forbidden(),
(req, res) => req.user!.blocked == false ? res.noContent() : res.forbidden(),
],
),
);