supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
278 stars 72 forks source link

fix: replace getSetCookie method by getAll('Set-Cookie') #777

Closed anku255 closed 6 months ago

anku255 commented 6 months ago

Summary of change

This PR replaces getSetCookie method by getAll('Set-Cookie') as node-fetch doesn't support it yet.

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates