Autosave: 2024-06-24 14:15:05

This commit is contained in:
thomasabishop 2024-06-24 14:15:05 +01:00
parent 811699e6a1
commit 01999913e7

View file

@ -98,7 +98,7 @@ const resolvers = {
There's more going on with this resolver than the previous one. As is standard,
we call the API using the `TrackAPI` class. However we don't just immediately
return this when it executes. This is because the schema specifies that the
retrun type `IncrementTrackViewsResponse` requires more than just the updated
return type `IncrementTrackViewsResponse` requires more than just the updated
`Track`. So we wait this and return it with the cluster of metadata about the
mutation response (`code`, `success`, and `message`).