Commit b1aa5de0 authored by Mark Harding's avatar Mark Harding
Browse files

(fix): do not set paging token for subscriptions if no result

parent c33e5724
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -69,6 +69,11 @@ class Repository

        try {
            $rows = $this->client->request($query);

            if (!$rows) {
                return $response;
            }

            foreach ($rows as $row) {
                $user = new User($row['column1']);
                $response[] = $user;