Skip to content

Commit

Permalink
Fix double basepath append
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Robertson committed Jun 1, 2021
1 parent 2090aa8 commit 4417680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/public/services/workpad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const workpadServiceFactory: CanvasServiceFactory<WorkpadService> = (
startPlugins
): WorkpadService => {
const getApiPath = function () {
return coreStart.http.basePath.prepend(`${API_ROUTE_WORKPAD}`);
return `${API_ROUTE_WORKPAD}`;
};
return {
get: async (id: string) => {
Expand Down

0 comments on commit 4417680

Please sign in to comment.