Skip to content

Commit

Permalink
Step 12.9: Create stub method for upload method
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 13, 2017
1 parent 9f0e739 commit 1047239
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/picture.ts
Expand Up @@ -27,6 +27,10 @@ export class PictureService {
});
}

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

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

0 comments on commit 1047239

Please sign in to comment.