File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/adapter-sequelize/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ import type {
20
20
AdapterAccount ,
21
21
AdapterSession ,
22
22
VerificationToken ,
23
- } from "next- auth/adapters"
23
+ } from "@ auth/core /adapters"
24
24
import { Sequelize , Model , ModelCtor } from "sequelize"
25
25
import * as defaultModels from "./models"
26
26
27
27
export { defaultModels as models }
28
28
29
29
// @see https://sequelize.org/master/manual/typescript.html
30
+ //@ts -expect-error
30
31
interface AccountInstance
31
32
extends Model < AdapterAccount , Partial < AdapterAccount > > ,
32
33
AdapterAccount { }
@@ -218,6 +219,7 @@ export default function SequelizeAdapter(
218
219
await sync ( )
219
220
220
221
const accountInstance = await Account . findOne ( {
222
+ // @ts -expect-error
221
223
where : { provider, providerAccountId } ,
222
224
} )
223
225
You can’t perform that action at this time.
0 commit comments