diff options
Diffstat (limited to 'server/models/oauth')
-rw-r--r-- | server/models/oauth/oauth-client.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/oauth/oauth-client.ts b/server/models/oauth/oauth-client.ts index 860fa6f53..457e84613 100644 --- a/server/models/oauth/oauth-client.ts +++ b/server/models/oauth/oauth-client.ts | |||
@@ -53,8 +53,8 @@ export class OAuthClientModel extends Model<Partial<AttributesOnly<OAuthClientMo | |||
53 | static getByIdAndSecret (clientId: string, clientSecret: string) { | 53 | static getByIdAndSecret (clientId: string, clientSecret: string) { |
54 | const query = { | 54 | const query = { |
55 | where: { | 55 | where: { |
56 | clientId: clientId, | 56 | clientId, |
57 | clientSecret: clientSecret | 57 | clientSecret |
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||