feat: GraphQL base implementation

This commit is contained in:
NGPixel committed 2017-08-12 17:26:27 -04:00
1 parent d76f6182b2
commit 60750eeed8
8 files changed
+83 -19

No files matched your search

+1 -1
View File
@@ -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')))
})