mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 13:49:12 +08:00
style: add @typescript-eslint/return-await rule (#9612)
This commit is contained in:
@@ -183,7 +183,7 @@ export class AuthService extends Service {
|
||||
this.session.revalidate();
|
||||
|
||||
track.$.$.auth.signedIn({ method: 'oauth', provider });
|
||||
return res.json();
|
||||
return await res.json();
|
||||
} catch (e) {
|
||||
track.$.$.auth.signInFail({
|
||||
method: 'oauth',
|
||||
|
||||
Reference in New Issue
Block a user