diff --git a/src/operations/user.gql b/src/operations/user.gql index 8703384..de477ec 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -29,3 +29,9 @@ query getLoggedInUser { updatedAt } } + +query GetUserPlayTime($userId: Int!) { + getPlayTime(userId: $userId) { + totalSeconds + } +} diff --git a/src/operations/user_play_time.gql b/src/operations/user_play_time.gql deleted file mode 100644 index 40c380d..0000000 --- a/src/operations/user_play_time.gql +++ /dev/null @@ -1,5 +0,0 @@ -query GetUserPlayTime($userId: Int!) { - getPlayTime(userId: $userId) { - totalSeconds - } -}