feat: add chat message
This commit is contained in:
@@ -36,7 +36,7 @@ app
|
||||
const { checkToken: token } = ctx.query;
|
||||
try {
|
||||
const result = await User.verifyToken(token);
|
||||
ctx.body = result?.payload || {};
|
||||
ctx.body = result || {};
|
||||
} catch (e) {
|
||||
new CustomError(401, 'Token InValid ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user