Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

code review #4

Merged
merged 5 commits into from
Jul 15, 2014
Merged

code review #4

merged 5 commits into from
Jul 15, 2014

Conversation

tjwebb
Copy link

@tjwebb tjwebb commented Jul 15, 2014

No description provided.

modified:   .gitignore
- ignore p12 and pem files
@@ -65,13 +65,13 @@ googleapis.discover('', 'v1alpha1',

// *** Example REST Query ***
// Now that we have the discovery doc, show a list of Contacts
client[database].Contact.list()
client[database].ItemSite.list()
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, nonsense. so much for code review

});
} else {
console.log("No Contacts!");
console.log('No Contacts!');
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Travis hates double quotes!!!!

lynnaloo added a commit that referenced this pull request Jul 15, 2014
@lynnaloo lynnaloo merged commit 8114083 into lynnaloo:master Jul 15, 2014
@tjwebb tjwebb deleted the code-review branch July 15, 2014 19:14
}
baseUrl = host + "/" + database;
baseUrl = host + '/' + database;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to me this appears slightly more straightforward than building the url over multiple lines:

'https://' + process.env.HOST + ':' + (process.env.PORT || 8443) + '/' + process.env.DATABASE

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants