Skip to content

Commit

Permalink
Working demo
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmr13 committed Jun 22, 2016
1 parent 409ca45 commit 94b2489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SheetsTemplater.gs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var QuickDrive = (function (config) {
})({}, {});

function doGet(e) {
var json = e ? e.parameters : {
var json = e ? JSON.parse(e.parameters.data) : {
header_title: 'my header title',
user: {
skills: [{
Expand Down Expand Up @@ -195,7 +195,7 @@ function doGet(e) {
}
}

return ContentService.createTextOutput(newSpreadSheet.id);
return ContentService.createTextOutput(newSpreadSheet.fileId);
};

if (typeof module !== 'undefined' && module.exports != null) {
Expand Down

0 comments on commit 94b2489

Please sign in to comment.