mirror of
https://github.com/diced/zipline.git
synced 2026-01-16 06:43:11 -08:00
fix: send user instead of current user
This commit is contained in:
@@ -52,7 +52,7 @@ export default fastifyPlugin(
|
||||
|
||||
if (!user) return res.notFound('User not found');
|
||||
|
||||
return res.send(req.user);
|
||||
return res.send(user);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user