SparkEdUAB / sparked-client

SparkEd V3
https://sparked.netlify.com
MIT License
5 stars 4 forks source link

update course mutation #23

Closed OlivierJM closed 5 years ago

OlivierJM commented 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