-
Try decodeURI() (unless it contains URI reserved characters such as ? or #)
-
Remove the “await”
-
Check the other parts of your function.
Try decodeURI() (unless it contains URI reserved characters such as ? or #)
Remove the “await”
Check the other parts of your function.