-
Hello This issue has sprung up for me this morning
I have read the PR and the Inertia docs, I just don't understand what I'm doing wrong here is the post request
I don't understand what I am supposed to be calling instead of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I had this problem for a bit with SweetAlert2 preconfirm requests and it buggered me. The problem is the return. You shouldn't return inertia requests because they get converted to promises. |
Beta Was this translation helpful? Give feedback.
-
the issue as mentioned by @xavi7th is due to the return type being turned into a promise if you are routing like this
or
change it instead to
unfortunately this still causes a promise warning
but i will update once i find a workaround |
Beta Was this translation helpful? Give feedback.
the issue as mentioned by @xavi7th is due to the return type being turned into a promise
if you are routing like this
or
change it instead to
unfortunately this still causes a promise warning
but i will update once i find a workaround