@connect-plus-online/ogabai-integrations 0.0.93 → 0.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -134,7 +134,7 @@ var createTransport = (opts) => {
134
134
  try {
135
135
  parsed = JSON.parse(text);
136
136
  } catch (e) {
137
- resCtx.error = new Error("Invalid JSON response");
137
+ resCtx.error = new Error("Invalid JSON responseL " + text);
138
138
  resCtx.status = r.status;
139
139
  return;
140
140
  }
@@ -3612,7 +3612,7 @@ var expenseCategorySchema = {
3612
3612
  },
3613
3613
  list: {
3614
3614
  operation: "query",
3615
- name: "getExpenseCategorys",
3615
+ name: "getExpenseCategories",
3616
3616
  variables: "($limit: Int!, $skip: Int!, $search: String, $expenseCategory: ExpenseCategoryInput, $expenseCategoryIds: [String])",
3617
3617
  field: "(limit: $limit, skip: $skip, search: $search, expenseCategory: $expenseCategory, expenseCategoryIds: $expenseCategoryIds)"
3618
3618
  },
@@ -3676,7 +3676,7 @@ var createExpenseCategoryService = (client) => ({
3676
3676
  ),
3677
3677
  getExpenseCategorys: createOperationExecutor(
3678
3678
  client,
3679
- "getExpenseCategorys",
3679
+ "getExpenseCategories",
3680
3680
  {
3681
3681
  schema: buildSchema(expenseCategorySchema.list),
3682
3682
  defaultRootFields: [...expenseCategoryListIntegration.responseFields],