@apolitical/server 3.0.0-beta.0 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/config.js +2 -1
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
const { NODE_ENV, LOG_LEVEL } = process.env;
|
|
4
4
|
|
|
5
5
|
const NAME = 'apolitical-server';
|
|
6
|
+
const UUID = '812c9f40-af4b-4718-b41d-54c8a81e148d';
|
|
6
7
|
const VERSION = '2.6.0';
|
|
7
8
|
const ADMIN_ROLE = 'administrator';
|
|
8
9
|
|
|
@@ -105,7 +106,7 @@ module.exports = {
|
|
|
105
106
|
DEFAULT_PAYLOAD: {
|
|
106
107
|
role: ADMIN_ROLE,
|
|
107
108
|
admin: true,
|
|
108
|
-
|
|
109
|
+
id: UUID,
|
|
109
110
|
iss: NAME,
|
|
110
111
|
sub: 'login',
|
|
111
112
|
},
|