Skip to content

Commit

Permalink
feat: CQDG-409 set null value instead of all uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymeric Toulouse committed Oct 12, 2023
1 parent 328da74 commit 4dc7832
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/db/dal/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,16 @@ export const deleteUser = async (keycloak_id: string): Promise<void> => {
await UserModel.update(
{
keycloak_id: uuid(),
email: uuid(),
affiliation: uuid(),
public_email: uuid(),
nih_ned_id: uuid(),
era_commons_id: uuid(),
first_name: uuid(),
last_name: uuid(),
linkedin: uuid(),
external_individual_fullname: uuid(),
external_individual_email: uuid(),
email: null,
affiliation: null,
public_email: null,
nih_ned_id: null,
era_commons_id: null,
first_name: null,
last_name: null,
linkedin: null,
external_individual_fullname: null,
external_individual_email: null,
deleted: true,
},
{
Expand Down

0 comments on commit 4dc7832

Please sign in to comment.