mondaycom/monday-sdk-js

apiVersion not getting included in localApi calls

adaptaplatas opened this issue · 1 comments

Describe the bug
When localApi client is used (there's no token) apiVersion parameter does not gets included in the parameters:
image

Steps to reproduce

  1. Embed the SDK in an app
  2. Call monday.api(...) including apiVersion parameter using a local API call.
  3. See the request does not include the requested apiVersion header.

Expected behavior
Header gets actually included.

Context and environment
Using monday.api in a local context.

@adaptaplatas this was solved in #108