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 Mar 23, 2017
1 parent ce7dfd2 commit a1e4f35
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 @@ -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 a1e4f35

Please sign in to comment.