mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
Directly use folder name as _id in Quest
This commit is contained in:
1 parent
0d9b068678
commit
3e9e14399a
4 files changed
+21
-30
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user