diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2025-02-03 17:03:43 +0100 | 
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2025-02-03 17:03:43 +0100 | 
| commit | 885393c445dd014dbb4a9a90aa23966db4b29711 (patch) | |
| tree | 27668c2f6874ed2c17fc216569ab1720f1141cc3 /src/graphql/query.rs | |
| parent | b158fada12aaab33b83e65d8253d603384474456 (diff) | |
Show notifications list for alerts
Diffstat (limited to 'src/graphql/query.rs')
| -rw-r--r-- | src/graphql/query.rs | 2 | 
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,  |