diff --git a/src/lib/types/core.ts b/src/lib/types/core.ts index 1475d07972a6..09b2b14c996b 100644 --- a/src/lib/types/core.ts +++ b/src/lib/types/core.ts @@ -22,12 +22,14 @@ export interface IUnleash { version: string; } +// Used by unleash internally for performing system actions that have +// no user export const SYSTEM_USER: IUser = { - email: 'systemuser@getunleash.io', + email: '', id: -1337, imageUrl: '', isAPI: false, - name: 'Used by unleash internally for performing system actions that have no user', + name: 'Unleash System', permissions: [], username: 'unleash_system_user', };