mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
[API] Clean up
This commit is contained in:
parent
77358e1ca3
commit
8efacf631b
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user