diff --git a/docs/angular/your-first-app/5-adding-mobile.md b/docs/angular/your-first-app/5-adding-mobile.md index 72ef3429132..25e18e856c9 100644 --- a/docs/angular/your-first-app/5-adding-mobile.md +++ b/docs/angular/your-first-app/5-adding-mobile.md @@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) { } else { // Fetch the photo, read as a blob, then convert to base64 format - const response = await fetch(photo.webPath); + const response = await fetch(photo.webPath!); const blob = await response.blob(); return await this.convertBlobToBase64(blob) as string; diff --git a/versioned_docs/version-v5/angular/your-first-app/5-adding-mobile.md b/versioned_docs/version-v5/angular/your-first-app/5-adding-mobile.md index 72ef3429132..25e18e856c9 100644 --- a/versioned_docs/version-v5/angular/your-first-app/5-adding-mobile.md +++ b/versioned_docs/version-v5/angular/your-first-app/5-adding-mobile.md @@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) { } else { // Fetch the photo, read as a blob, then convert to base64 format - const response = await fetch(photo.webPath); + const response = await fetch(photo.webPath!); const blob = await response.blob(); return await this.convertBlobToBase64(blob) as string; diff --git a/versioned_docs/version-v6/angular/your-first-app/5-adding-mobile.md b/versioned_docs/version-v6/angular/your-first-app/5-adding-mobile.md index 72ef3429132..25e18e856c9 100644 --- a/versioned_docs/version-v6/angular/your-first-app/5-adding-mobile.md +++ b/versioned_docs/version-v6/angular/your-first-app/5-adding-mobile.md @@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) { } else { // Fetch the photo, read as a blob, then convert to base64 format - const response = await fetch(photo.webPath); + const response = await fetch(photo.webPath!); const blob = await response.blob(); return await this.convertBlobToBase64(blob) as string;