summaryrefslogtreecommitdiff
path: root/src/graphql/query.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphql/query.rs')
-rw-r--r--src/graphql/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphql/query.rs b/src/graphql/query.rs
index ccade65..4ce767b 100644
--- a/src/graphql/query.rs
+++ b/src/graphql/query.rs
@@ -74,7 +74,7 @@ impl Query {
/// curl http://localhost:8000/graphql
/// -H 'authorization: Bearer ***'
/// -H 'content-type: application/json'
- /// -d '{"query":"{alerts(id: 12) {id, userId, createdAt, area, areaLevel2, areaLevel3, text1, text2, text3}}"}'
+ /// -d '{"query":"{alerts(id: 12) {id, userId, createdAt, area, areaLevel2, areaLevel3, text1, text2, text3, notifications {userId, latitude, longitude }}"}'
/// ```
async fn alerts<'ctx>(
&self,