renew ts value, better logging JWT

This commit is contained in:
2024-05-28 17:26:45 -05:00
parent 2465b8966b
commit 24a3d210f0
2 changed files with 4 additions and 2 deletions

View File

@@ -175,6 +175,7 @@ export class EditCommercialPropertyListingComponent {
this.imageService.uploadImage(blob, 'uploadPropertyPicture', this.listing.imagePath, this.listing.serialId).subscribe(
async event => {
if (event.type === HttpEventType.Response) {
this.ts = new Date().getTime();
console.log('Upload abgeschlossen', event.body);
this.loadingService.stopLoading('uploadImage');
this.listing = await lastValueFrom(this.listingsService.getListingById(this.id, 'commercialProperty'));