mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-02 00:40:04 +09:00
[API] Clean up
This commit is contained in:
@ -22,7 +22,7 @@ export interface IAuthContext {
|
||||
}
|
||||
|
||||
export default (req: express.Request) => new Promise<IAuthContext>(async (resolve, reject) => {
|
||||
const token = req.body['i'] || req.body['_userkey']; // そのうち_userkeyは削除
|
||||
const token = req.body['i'];
|
||||
|
||||
if (token == null) {
|
||||
return resolve({ app: null, user: null, isSecure: false });
|
||||
|
Reference in New Issue
Block a user