Skip to content

Pass context to function instead of global sandbox#154

Closed
AliusDieMorietur wants to merge 2 commits intoHowProgrammingWorks:masterfrom
AliusDieMorietur:backport
Closed

Pass context to function instead of global sandbox#154
AliusDieMorietur wants to merge 2 commits intoHowProgrammingWorks:masterfrom
AliusDieMorietur:backport

Conversation

@AliusDieMorietur
Copy link
Copy Markdown

@AliusDieMorietur AliusDieMorietur commented Jul 11, 2020

This commit was taken.

Comment thread lib/auth.js Outdated

class Session {
constructor(token, sandbox, contextData = { token }) {
constructor(token, contextData = {}) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
constructor(token, contextData = {}) {
constructor(token, contextData = { token }) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed here.

tshemsedinov pushed a commit that referenced this pull request Jul 11, 2020
@tshemsedinov
Copy link
Copy Markdown
Member

Landed in f485929

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