From 916b78240c1d0f4f0391978db589686a280caaa7 Mon Sep 17 00:00:00 2001 From: wancat Date: Sat, 14 Oct 2023 15:36:03 +0800 Subject: [PATCH] fix: oauthVerify models import --- server/src/auth/oauthVerify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/auth/oauthVerify.js b/server/src/auth/oauthVerify.js index 55b95ee..ce20d19 100644 --- a/server/src/auth/oauthVerify.js +++ b/server/src/auth/oauthVerify.js @@ -1,4 +1,4 @@ -import User from '../models/user.js' +import { User } from '@linux-odyssey/models' export default async function oauthVerify(provider, profile, query, cb) { process.nextTick(async () => {