Skip to content

Commit

Permalink
feat(account): remove a removed function ref
Browse files Browse the repository at this point in the history
ref: MANAGER-15565

Signed-off-by: Maxime Bajeux <[email protected]>
  • Loading branch information
Maxime Bajeux committed Dec 18, 2024
1 parent 590ad34 commit 06999d7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export default class AccountUserIdentityDocumentsController {
}

uploadIdentityDocuments() {
this.handleUploadConfirmModal(false);
this.loading = true;
this.displayError = false;
this.trackClick(TRACKING_TASK_TAG.confirmSendMyDocuments);
Expand All @@ -100,7 +99,9 @@ export default class AccountUserIdentityDocumentsController {
this.tryToFinalizeProcedure(this.links)
: // In order to start the KYC procedure we need to request the upload links for the number of documents
// the user wants to upload
this.getUploadDocumentsLinks(Object.values(this.files).flatMap(({ files }) => files).length)
this.getUploadDocumentsLinks(
Object.values(this.files).flatMap(({ files }) => files).length,
)
// Once we retrieved the upload links, we'll try to upload them and then "finalize" the procedure creation
.then(({ data: { uploadLinks } }) => {
this.links = uploadLinks;
Expand Down

0 comments on commit 06999d7

Please sign in to comment.