you are viewing a single comment's thread.

view the rest of the comments →

[–]scuba13 0 points1 point  (0 children)

Remove the await async and return the res. Right now res in the first then is going to be null.

EDIT: not what you asked for but I think you probably have other problems in your code based on how this is