lib/ecoportal/api/graphql/query/contractor_entities.rb in ecoportal-api-graphql-0.4.0 vs lib/ecoportal/api/graphql/query/contractor_entities.rb in ecoportal-api-graphql-0.4.1
- old
+ new
@@ -11,17 +11,23 @@
private
def basic_block(&block)
connection_block = block || default_connection_block
proc {
- query(searchConf: :Search, after: :string, before: :string, first: :int, last: :int) {
+ query(
+ searchConf: :Search,
+ after: :string,
+ before: :string,
+ first: :int,
+ last: :int
+ ) {
currentOrganization {
contractorEntities(
searchConf: :searchConf,
- after: :after,
- before: :before,
- first: :first,
- last: :last,
+ after: :after,
+ before: :before,
+ first: :first,
+ last: :last,
&connection_block
)
}
}
}