Skip to content

Commit b6dd83a

Browse files
docs(angular):updated component photo service (#2986) (#2987)
* docs(angular):updated component photo service (#2986) * docs(angular):changed component photo service (#2986) changed photo.path --> photo.path! * remove extra newline --------- Co-authored-by: Amanda Johnston <[email protected]>
1 parent 7c5fc22 commit b6dd83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/angular/your-first-app/5-adding-mobile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private async readAsBase64(photo: Photo) {
3838
if (this.platform.is('hybrid')) {
3939
// Read the file into base64 format
4040
const file = await Filesystem.readFile({
41-
path: photo.path
41+
path: photo.path!
4242
});
4343

4444
return file.data;

0 commit comments

Comments
 (0)