Skip to content

Commit

Permalink
plugin-flow-builder: fix CORS error (#2682)
Browse files Browse the repository at this point in the history
## Description
Use public api to avoid CORS error
Publish plugin flow builder 0.23.4 version
  • Loading branch information
Iru89 authored Nov 30, 2023
1 parent 2579ae6 commit 00c9fc8
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 64 deletions.
124 changes: 62 additions & 62 deletions packages/botonic-plugin-flow-builder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/botonic-plugin-flow-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botonic/plugin-flow-builder",
"version": "0.23.3",
"version": "0.23.4",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"description": "Use Flow Builder to show your contents",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function getQueueAvailability(
queueId: string
): Promise<AvailabilityData> {
const response = await axios.get(
`${HUBTYPE_API_URL}/v1/queues/${queueId}/availability/`,
`${HUBTYPE_API_URL}/public/v1/queues/${queueId}/availability/`,
// TODO: Make it configurable in the future
{
params: {
Expand Down

0 comments on commit 00c9fc8

Please sign in to comment.