ananay / apple-auth

Sign in with Apple for Node.js
326 stars 59 forks source link

Return after rejects to not have unnecessary processing #9

Closed aryehischechter closed 5 years ago

aryehischechter commented 5 years ago

If you don't return after the rejections, the code below will still run but nothing can be returned in subsequent reject or resolve calls, so there is no point in continuing.

ananay commented 5 years ago

Merged. Thank you!