Skip to content

Commit 3b8c752

Browse files
committed
fix: use correct import
1 parent 5d06fa5 commit 3b8c752

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/adapter-sequelize/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ import type {
2020
AdapterAccount,
2121
AdapterSession,
2222
VerificationToken,
23-
} from "next-auth/adapters"
23+
} from "@auth/core/adapters"
2424
import { Sequelize, Model, ModelCtor } from "sequelize"
2525
import * as defaultModels from "./models"
2626

2727
export { defaultModels as models }
2828

2929
// @see https://sequelize.org/master/manual/typescript.html
30+
//@ts-expect-error
3031
interface AccountInstance
3132
extends Model<AdapterAccount, Partial<AdapterAccount>>,
3233
AdapterAccount {}
@@ -218,6 +219,7 @@ export default function SequelizeAdapter(
218219
await sync()
219220

220221
const accountInstance = await Account.findOne({
222+
// @ts-expect-error
221223
where: { provider, providerAccountId },
222224
})
223225

0 commit comments

Comments
 (0)