feat: GraphQL base implementation
This commit is contained in:
1 parent
d76f6182b2
commit
60750eeed8
8 files changed
+83
-19
No files matched your search
@@ -99,7 +99,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
deny: false
|
||||
}]
|
||||
}
|
||||
return db.User.create(nUsr)
|
||||
return wiki.db.User.create(nUsr)
|
||||
}
|
||||
return user || Promise.reject(new Error(wiki.lang.t('auth:errors:notyetauthorized')))
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user