Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hand-crafted request token logic by nextcloud-axios lib #11678

Merged
merged 2 commits into from
Oct 8, 2018

Conversation

ChristophWurst
Copy link
Member

Discovered in #11675. It's easier to just maintain this request token logic in one external library that wraps Axios: https://www.npmjs.com/package/nextcloud-axios.

Also, the .then and .catch transformations are quite useless because the resulting Promise resolves/reject exactly the same without them.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@juliusknorr juliusknorr merged commit 94335ee into master Oct 8, 2018
@juliusknorr juliusknorr deleted the refactor/settings-axios-lib branch October 8, 2018 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants