Closed OlivierJM closed 5 years ago
There is a mutation to update the course, so we just need to call this from the client on the edit modal. something like this can work
mutation { updateCourse(id:"id", name:"new name"){ name } }
You can check other queries and mutations that I used. comment here if you have questions
There is a mutation to update the course, so we just need to call this from the client on the edit modal. something like this can work
You can check other queries and mutations that I used. comment here if you have questions