Skip to content

Conversation

@KrishnaSolo
Copy link
Collaborator

Why

We want to allow a user to delete his account from the platform.

What

Added functions to delete user from cognito user pool
Added value to region env variable
Added prettier for code style.

Linked to issue #24.

@KrishnaSolo KrishnaSolo linked an issue Feb 7, 2021 that may be closed by this pull request
@KrishnaSolo KrishnaSolo requested a review from GurmeharS February 7, 2021 18:54
return docClient.delete(params);
}

function setUpParamas(body) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paramas

}

function deleteCognitoUser(body) {
const command = new DeleteUserCommand(setUpParamas(body));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paramas

@GurmeharS GurmeharS changed the base branch from main to staging February 7, 2021 19:50
@KrishnaSolo KrishnaSolo merged commit 0bbe781 into staging Feb 7, 2021
@KrishnaSolo KrishnaSolo deleted the updated-delete-to-delete-cognito-user branch February 7, 2021 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update DELETE endpoint/function.

3 participants