You are using the Strapi v3 GraphQL format. In stead something like:
mutation {
updateTodo(id: "1", data: { done: true }) {
data {
id
attributes {
done
}
}
}
}
You are using the Strapi v3 GraphQL format. In stead something like:
mutation {
updateTodo(id: "1", data: { done: true }) {
data {
id
attributes {
done
}
}
}
}