Solved user profile error
This commit is contained in:
1 parent
7b85d3d503
commit
7828bc3d26
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
const mongoose = require("mongoose");
|
const mongoose = require("mongoose");
|
||||||
let model = new mongoose.Schema({
|
let model = new mongoose.Schema({
|
||||||
id: String,
|
id: String,
|
||||||
biography: { type: String, default: null },
|
biography: { type: String, default: "User has no biography" },
|
||||||
coins: String,
|
coins: String,
|
||||||
website: String,
|
website: String,
|
||||||
github: String,
|
github: String,
|
||||||
|
|||||||
Reference in new issue
Block a user