Subscription/unsubscription seems to work.

This commit is contained in:
Tomas Bures 2018-01-27 16:37:14 +01:00
parent d8ee364a4b
commit e9165838dc
22 changed files with 14939 additions and 196 deletions

View file

@ -10,18 +10,18 @@ function getRequestContext(req) {
return context;
}
function getAdminContext() {
const context = {
user: {
admin: true,
id: 0,
username: '',
name: '',
email: ''
}
};
const adminContext = {
user: {
admin: true,
id: 0,
username: '',
name: '',
email: ''
}
};
return context;
function getAdminContext() {
return adminContext;
}
module.exports = {