Skip to content

Commit

Permalink
Merge pull request #65 from seangallavan/patch-1
Browse files Browse the repository at this point in the history
Making title work (likely due to a Google change)
  • Loading branch information
theoephraim committed Dec 22, 2015
2 parents 1fdae13 + 001f0ad commit 7758096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var GooogleSpreadsheet = function( ss_key, auth_id, options ){
}
var ss_data = {
id: data.id,
title: data.title["_"],
title: data.title,
updated: data.updated,
author: data.author,
worksheets: []
Expand Down Expand Up @@ -315,7 +315,7 @@ var SpreadsheetWorksheet = function( spreadsheet, data ){

self.url = data.id;
self.id = data.id.substring( data.id.lastIndexOf("/") + 1 );
self.title = data.title["_"];
self.title = data.title;
self.rowCount = data['gs:rowCount'];
self.colCount = data['gs:colCount'];

Expand Down

0 comments on commit 7758096

Please sign in to comment.