diff options
Diffstat (limited to 'src/graphql')
-rw-r--r-- | src/graphql/mutation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphql/mutation.rs b/src/graphql/mutation.rs index 540dd0f..e88157a 100644 --- a/src/graphql/mutation.rs +++ b/src/graphql/mutation.rs @@ -70,8 +70,8 @@ impl Mutation { ", &[ &claims.user_id, - &input.latitude, &input.longitude, + &input.latitude, &input.moving_activity, ], ) @@ -122,7 +122,7 @@ impl Mutation { .map(|x| { format!( "ST_SetSRID(ST_MakePoint({}, {}), 4326)", - x.latitude, x.longitude + x.longitude, x.latitude ) }) .collect(); |