Skip to content

Adding back the removed setXuniqueID method#41

Merged
ctorboh merged 2 commits intocloudmine:developfrom
ctorboh:STR-1608
Aug 30, 2018
Merged

Adding back the removed setXuniqueID method#41
ctorboh merged 2 commits intocloudmine:developfrom
ctorboh:STR-1608

Conversation

@ctorboh
Copy link
Copy Markdown
Contributor

@ctorboh ctorboh commented Aug 30, 2018

No description provided.

@ctorboh ctorboh requested a review from spectorar August 30, 2018 14:46
@ctorboh ctorboh changed the base branch from master to develop August 30, 2018 14:46
Copy link
Copy Markdown
Contributor

@spectorar spectorar left a comment

Choose a reason for hiding this comment

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

One tiny thing, but otherwise good stuff. 🚀

js/cloudmine.js Outdated
if (opts.xuniqueid) {
this.requestHeaders['X-Unique-Id'] = opts.xuniqueid;
}
else {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you just move this else up to the line above next to the closing bracket (} else {). That is idiomatic syntax.

@ctorboh ctorboh merged commit 0941c33 into cloudmine:develop Aug 30, 2018
@ctorboh ctorboh deleted the STR-1608 branch August 30, 2018 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants