Closed jdaar closed 1 year ago
Removed id from data in update method.
This is because when id is present in data, it results in error.
Error msg: Unknown arg `id` in data.id for type GuideUncheckedUpdateInput.
Unknown arg `id` in data.id for type GuideUncheckedUpdateInput.
With this pull request, the problem is solved and the app works correctly.
Most changes are from format issues, solved by prettier
I'm not sure if removing id from payload is a good idea, what if someone doesn't use an autogenerated primary key and instead something like "email"?
id
Removed id from data in update method.
This is because when id is present in data, it results in error.
Error msg:
Unknown arg `id` in data.id for type GuideUncheckedUpdateInput.
With this pull request, the problem is solved and the app works correctly.
Most changes are from format issues, solved by prettier