The entry I want mutate (from Goal Table):

The mutation function:
mutation updateGoalDuration($durationBeat: DurationBeatInput, $id: ID = <my-id>) {
updateGoal(input: {goalTargetDuration: $durationBeat, id: $id}) {
goalTargetDuration {
durationHours
durationMinutes
}
}
}
The input to the function:
{
"durationBeat": {
"durationHours": 2,
"durationMinutes": 23,
"durationSeconds": 0
}
}
The result:
{
"data": {
"updateGoal": {
"goalTargetDuration": {
"durationHours": 1,
"durationMinutes": 59
}
}
}
}
My questions:
- Why is the response not of the updated data?
- Why is the entry not updating?