@connect-plus-online/ogabai-integrations 0.0.16 → 0.0.17

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
@@ -1130,7 +1130,7 @@ var productSchema = {
1130
1130
  var createFileService = (client) => ({
1131
1131
  async uploadFile(formData) {
1132
1132
  const url = client["url"].replace("/graphql", "") + "/api/upload";
1133
- const token = await client.token();
1133
+ const token = await client["tokenProvider"]();
1134
1134
  const headers = {
1135
1135
  ...token ? { Authorization: `Bearer ${token}` } : {}
1136
1136
  };