Upload refactor #242
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#242
Loading…
Reference in a new issue
No description provided.
Delete branch "upload-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feedback.
@lyoshenka I gather best practices re: API documentation have evolved. Should @billbitt consider swagger or something else to document these calls?
(May be out of scope for this PR and should instead be opened separately)
Why call this then if
skipAuth
is true?A more common convention for this is probably
speechConfig.example.js
orspeechConfig.js.example
.@ -25,2 +30,2 @@
logger.debug('channel for publish not found in Channel table');
};
channelName = channel.channelName;
}
Missing
let
?[error, message] = this.returnErrorMessageAndStatus(error)
Prob worth spending some time reading/learning on ES2016 destructuring as well as spread operators.
same as above
Presumably
const
Late on catching this one, but this function name doesn't imply it is redirecting me to the homepage.
good point. I was struggling with how to best do this in the promise chain, but I now abstracted this to its own function
I like
speechConfig.js.example
@ -25,2 +30,2 @@
logger.debug('channel for publish not found in Channel table');
};
channelName = channel.channelName;
}
defined on line 9 to hoist and make available further down promise chain
I'll discuss with @lyoshenka and open separate PR for needed changes