Skip to content

Commit 3ee7305

Browse files
committed
Step 14.17: Update selectProfilePicture in profile.ts to use getPicture
1 parent 5f47563 commit 3ee7305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/profile/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class ProfilePage implements OnInit {
3636
}
3737

3838
selectProfilePicture(): void {
39-
this.pictureService.select().then((blob) => {
39+
this.pictureService.getPicture(false, true).then((blob) => {
4040
this.uploadProfilePicture(blob);
4141
})
4242
.catch((e) => {

0 commit comments

Comments
 (0)