Skip to content

Commit

Permalink
Step 13.11: Create stub method for upload method
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 164a483 commit 4d496fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/picture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export class PictureService {
});
}

upload(blob: File): Promise<any> {
return Promise.resolve();
}

convertURLtoBlob(url: string, options = {}): Promise<File> {
return new Promise((resolve, reject) => {
const image = document.createElement('img');
Expand Down

0 comments on commit 4d496fd

Please sign in to comment.