mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-11 21:26:24 +00:00
Update TokenUserPayload to only required parameters
Change-type: patch
This commit is contained in:
parent
cdf807993d
commit
9b776fb764
@ -1,30 +1,15 @@
|
|||||||
import * as jsonwebtoken from 'jsonwebtoken';
|
import * as jsonwebtoken from 'jsonwebtoken';
|
||||||
|
|
||||||
const johnDoe = {
|
const johnDoe = {
|
||||||
username: 'johndoe1',
|
|
||||||
email: 'johndoe@johndoe.com',
|
|
||||||
gitlab_id: 1325,
|
|
||||||
social_service_account: null,
|
|
||||||
hasPasswordSet: true,
|
|
||||||
public_key: false,
|
|
||||||
features: [],
|
|
||||||
id: 1344,
|
id: 1344,
|
||||||
intercomUserHash:
|
actor: 1344,
|
||||||
'e03778dd29e157445f272acc921170cf2810b62f502645265cc349d6deda3524',
|
jwt_secret: '1344',
|
||||||
permissions: [],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const janeDoe = {
|
const janeDoe = {
|
||||||
id: 152,
|
id: 152,
|
||||||
username: 'janedoe',
|
actor: 152,
|
||||||
email: 'janedoe@asdf.com',
|
jwt_secret: '152',
|
||||||
social_service_account: null,
|
|
||||||
has_disabled_newsletter: true,
|
|
||||||
hasPasswordSet: true,
|
|
||||||
public_key: false,
|
|
||||||
features: [],
|
|
||||||
intercomUserHash:
|
|
||||||
'0b4f9eb44b371f0e328ef5fe03ad7eb2f5f72dd418ef23149d5287096558ce03',
|
|
||||||
permissions: [],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user