From 3779a6f0fba2f95537f2f6746e8e60fb5b29835b Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Thu, 11 Jan 2024 15:31:15 +0530 Subject: [PATCH] Revert "chore: align the system user defined in `core.ts` with the one created in the migration (#5845)" (#5852) This reverts commit 0b5ac19d9a672e69e8e604aa107be3f55efea420. --- src/lib/types/core.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/types/core.ts b/src/lib/types/core.ts index 09b2b14c99..1475d07972 100644 --- a/src/lib/types/core.ts +++ b/src/lib/types/core.ts @@ -22,14 +22,12 @@ export interface IUnleash { version: string; } -// Used by unleash internally for performing system actions that have -// no user export const SYSTEM_USER: IUser = { - email: '', + email: 'systemuser@getunleash.io', id: -1337, imageUrl: '', isAPI: false, - name: 'Unleash System', + name: 'Used by unleash internally for performing system actions that have no user', permissions: [], username: 'unleash_system_user', };