decidim-api 0.27.9 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9adf84f7041ff9fa7af924c2d38ea696d1257c6305c77b77bb33c31c694a3be
4
- data.tar.gz: 9b5b488ea995fe0be867f72efec4214338af76ed312ee781d01a1139965f4656
3
+ metadata.gz: db1dc6b79027576e9a82a052d3281b6cfaa538943743730049f59f77e2dbc343
4
+ data.tar.gz: 43a3617391fe5ef6bb2704725b2ed7dc3a5756ff5dda27ec60961956270a3006
5
5
  SHA512:
6
- metadata.gz: b8df014ca9ac41b46a46e6ac99cea387b0f99cf8b7bffd131b5c5300268e467bac5ca1e7833a9b3815834ea7fb288a0639c93ff15e20f3fe370a284acd8cb752
7
- data.tar.gz: 131cf80e8a3f59fbe101e6825c5ee6400a5ec61516d9e88664f1dc113712e5a1a2779f1da847bc260684f8c9cb911cb61cf554515e3fbd719af5c54d032fdff5
6
+ metadata.gz: fdab41312d388c434b954164a62cbe2b269d9c81fadca02f4f6d8c4ebe0800f3a22fd4d108e429dbe2a46f74fd9aa8a6fa8ada01cf62f54b63b66b80af1072d7
7
+ data.tar.gz: '088673741a96c0fe7a5f16f5b3304e004ee80a116906d76676a53f81c9bcaa1959fa078f2c81cd61815aa34833819e2cc62b2fb6d3154993e46eeaa970184f18'
@@ -9,7 +9,7 @@ module Decidim
9
9
  variables = prepare_variables(params[:variables])
10
10
  query = params[:query]
11
11
  operation_name = params[:operationName]
12
- result = Schema.execute(query, variables: variables, context: context, operation_name: operation_name)
12
+ result = Schema.execute(query, variables:, context:, operation_name:)
13
13
  render json: result
14
14
  rescue StandardError => e
15
15
  logger.error e.message
@@ -28,8 +28,8 @@ module Decidim
28
28
 
29
29
  def context
30
30
  {
31
- current_organization: current_organization,
32
- current_user: current_user
31
+ current_organization:,
32
+ current_user:
33
33
  }
34
34
  end
35
35