bug: [object Object] in ApiTokens #3604
Answered
by
Julien-R44
tavaresgerson
asked this question in
Help
-
Hello guys! I updated packages in my project, ( Response in API:
Response in terminal: select * from "api_tokens" where "id" = $1 and "type" = $2 limit $3 - invalid input syntax for type integer: "[object Object]"
err: {
"type": "DatabaseError",
"message": "select * from \"api_tokens\" where \"id\" = $1 and \"type\" = $2 limit $3 - invalid input syntax for type integer: \"[object Object]\"",
"stack":
error: select * from "api_tokens" where "id" = $1 and "type" = $2 limit $3 - invalid input syntax for type integer: "[object Object]" I need help bro! 🥲 |
Beta Was this translation helpful? Give feedback.
Answered by
Julien-R44
Mar 3, 2022
Replies: 1 comment 5 replies
-
Hey! |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
tavaresgerson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
An update will be coming in the next few days but for now please rollback to Lucid version 16. There has been a breaking change that has impacted the
auth
package. I just sent a fix : adonisjs/auth#196