decidim-api 0.27.8 → 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: 1a1508ff3035cc844ada362222ade0b575832ca6f6d1657287ea093ce424ea68
4
- data.tar.gz: 1c058b21d361d538922b6e7d7d01840aa7aa660f56329ff2d88dc20a39a9616d
3
+ metadata.gz: db1dc6b79027576e9a82a052d3281b6cfaa538943743730049f59f77e2dbc343
4
+ data.tar.gz: 43a3617391fe5ef6bb2704725b2ed7dc3a5756ff5dda27ec60961956270a3006
5
5
  SHA512:
6
- metadata.gz: 8e9de0cb8f6e89e800618d081f4f2eac35d1bf8fc8be9db1b510a7975bce7f545a731b67994f663a0acaa29feb8051b49091b2c7d37220ce105f9ead8a383e1e
7
- data.tar.gz: b17c9722e0b7b3b1197b2324c9dcd56cbbab54d0612f47e36e16a04b3481efa3fbadb9f523ab6d244f0d03dcc2a2175d29dbd52caa508f1280adb7408c90be1a
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