Skip to content

Commit 1def96d

Browse files
committed
update(photo service): Add missing Promise return type
1 parent 1dd6a12 commit 1def96d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/services/photo.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class PhotoService {
113113
}
114114

115115
// Retrieve the photo metadata based on the platform the app is running on
116-
private async getPhotoFile(cameraPhoto: CameraPhoto, fileName: string) {
116+
private async getPhotoFile(cameraPhoto: CameraPhoto, fileName: string): Promise<Photo> {
117117
if (this.platform.is('hybrid')) {
118118
// Get the new, complete filepath of the photo saved on filesystem
119119
const fileUri = await Filesystem.getUri({

0 commit comments

Comments
 (0)