You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run your code it works fine since you already have a user with id=1 and a few book records.
But when I move your code over to my project I receive an error when i go to /edit/
No User matches the given query.
I think this is because the user hasnt created any book record.
How do make it work when user first creates something?
The text was updated successfully, but these errors were encountered:
When I run your code it works fine since you already have a user with id=1 and a few book records.
But when I move your code over to my project I receive an error when i go to /edit/
No User matches the given query.
I think this is because the user hasnt created any book record.
How do make it work when user first creates something?
The text was updated successfully, but these errors were encountered: