Skip to content

Commit 145b4dd

Browse files
remove thumbnail requirement on upload
1 parent 6374947 commit 145b4dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/db/papers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const adminSchema = new Schema<IAdminPaper>({
55
public_id_cloudinary: { type: String, required: true },
66
cloudinary_index: { type: Number, required: true },
77
final_url: { type: String, required: true },
8-
thumbnail_url: { type: String, required: true },
8+
thumbnail_url: { type: String, required: false },
99
subject: { type: String || null, index: true },
1010
slot: { type: String || null },
1111
year: { type: String || null },

0 commit comments

Comments
 (0)