Skip to content
\n

I don't understand why this happens (this is the first time I've encountered this problem).
\nso if you have a solution: I'm interested

\n
\n

(because I don't want to do an additional SQL query checking the existence or not of the tuple before doing make \"lucid tenant.save()\")

\n
\n

Thank you for your help and have a nice day.

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

arfff ...

\n

I found my error 'tenant.save()'
\nI had forgotten to put \"await\" in front of 'await tenant.save()' ....

\n

thank you

","upvoteCount":1,"url":"https://github.com/orgs/adonisjs/discussions/4792#discussioncomment-11204700"}}}
Discussion options

You must be logged in to vote

arfff ...

I found my error 'tenant.save()'
I had forgotten to put "await" in front of 'await tenant.save()' ....

thank you

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RomainLanz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant