mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 06:37:23 +02:00
fix: try to fix gist
This commit is contained in:
3 files changed
+71
-4
No files matched your search
@@ -51,7 +51,10 @@ const AnonymizedGistSchema = new Schema({
|
||||
content: String,
|
||||
language: String,
|
||||
size: Number,
|
||||
type: String,
|
||||
// `type` is a reserved key in Mongoose type declarations; without the
|
||||
// nested `{ type: String }` the whole object is compiled as an array
|
||||
// of strings and file objects are silently dropped on save.
|
||||
type: { type: String },
|
||||
},
|
||||
],
|
||||
comments: [
|
||||
|
||||
Reference in new issue
Block a user