Subscription/unsubscription seems to work.
This commit is contained in:
parent
d8ee364a4b
commit
e9165838dc
22 changed files with 14939 additions and 196 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue