Directly use folder name as _id in Quest

This commit is contained in:
wancat committed 2023-07-20 16:25:10 +08:00
1 parent 0d9b068678
commit 3e9e14399a
4 files changed
+21 -30

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { model, Schema } from 'mongoose'
const Quest = model(
'Quest',
new Schema({
name: String,
_id: String,
title: String,
order: Number,
content: String,