diff --git a/src/constants/auth.ts b/src/constants/auth.ts index 502d309..a61183d 100644 --- a/src/constants/auth.ts +++ b/src/constants/auth.ts @@ -1,3 +1,3 @@ -export const TOKEN_KEY = 'token'; +export const TOKEN_KEY = 'X-Token'; -export const REFRESH_TOKEN_KEY = 'refresh_token'; +export const REFRESH_TOKEN_KEY = 'X-Refresh-Token'; diff --git a/src/models/wishList.ts b/src/models/wishList.ts deleted file mode 100644 index 5b1773b..0000000 --- a/src/models/wishList.ts +++ /dev/null @@ -1,8 +0,0 @@ -import mongoose, { Types } from 'mongoose'; - -const WishListSchema = new mongoose.Schema({ - comicId: { type: Types.ObjectId, required: true }, - userId: { type: Types.ObjectId, required: true }, -}); - -export default mongoose.model('WishList', WishListSchema);