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

Update client.js to capture all cookies from response #104

Conversation

StarZeus
Copy link

@StarZeus StarZeus commented Jan 6, 2024

What does this PR do?

This PR enables appwrite-cli to capture all cookies in 'set-cookie' response headers

Test Plan

I have tested this change hosting appwrite in kubernetes environment where nginx-ingress controller adds its own cookies. And I was able to execute multiple appwrite cli commands without loggin in for each command.

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

@stnguyen90
Copy link
Contributor

Thanks for raising this PR! 🙏🏼 Unfortunately, this is a read-only repo as the code is generated by our SDK Generator, and changes made only here would be wiped in the next release. Would you be able to make the change in https://github.com/appwrite/sdk-generator/blob/master/templates/cli/lib/client.js.twig?

@stnguyen90 stnguyen90 self-requested a review March 11, 2024 10:46
@stnguyen90 stnguyen90 closed this Mar 11, 2024
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