From 4a5d46ed720c4a4fbc3fbb07ac3e7035b7740645 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Wed, 28 May 2025 20:04:52 +0200 Subject: [PATCH] :bug: Add missing bracket --- .../edit-pin-popup/edit-pin-popup.component.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/components/edit-pin-popup/edit-pin-popup.component.ts b/src/app/components/edit-pin-popup/edit-pin-popup.component.ts index 74e41a6..3883787 100644 --- a/src/app/components/edit-pin-popup/edit-pin-popup.component.ts +++ b/src/app/components/edit-pin-popup/edit-pin-popup.component.ts @@ -286,10 +286,11 @@ export class EditPinPopupComponent implements OnInit, AfterViewInit, OnDestroy { complete_address: this.form.get('complete_address')?.value || this.form.get('location')?.value, }; - this.pinService.updatePin(this.pin.id, pinData).subscribe(() => { - this.mapReloadService.requestReload(); - this.closePinModal(); - }); + this.pinService.updatePin(this.pin.id, pinData).subscribe(() => { + this.mapReloadService.requestReload(); + this.closePinModal(); + }); + } } }