Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Use a PDF instead of an image for the file capture example
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Corona committed Apr 28, 2014
1 parent 190c6e9 commit ddfca79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added file.pdf
Binary file not shown.
0 file.jpg → image.jpg
100644 → 100755
File renamed without changes
6 changes: 3 additions & 3 deletions lib/create-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var CreateExamples = function () {
contentType: 'text/html'
},
'ImageData': {
body: fs.readFileSync(path.normalize(__dirname + '/../file.jpg')),
body: fs.readFileSync(path.normalize(__dirname + '/../image.jpg')),
contentType: 'image/jpeg'
}
}, callback, true);
Expand Down Expand Up @@ -202,8 +202,8 @@ var CreateExamples = function () {
contentType: 'text/html'
},
'EmbeddedFile': {
body: fs.readFileSync(path.normalize(__dirname + '/../file.jpg')),
contentType: 'image/jpeg'
body: fs.readFileSync(path.normalize(__dirname + '/../file.pdf')),
contentType: 'application/pdf'
}
}, callback, true);
}
Expand Down

0 comments on commit ddfca79

Please sign in to comment.