refactor(pipedrive): set baseUrl in a seperate file

This commit is contained in:
Rıdvan Akca
2023-10-20 18:48:58 +03:00
committed by Ali BARIN
parent 3a638220af
commit 94e64676af
12 changed files with 32 additions and 26 deletions

View File

@@ -73,10 +73,7 @@ export default defineAction({
const {
data: { data },
} = await $.http.post(
`${$.auth.data.apiDomain}/api/v1/organizations`,
body
);
} = await $.http.post('/api/v1/organizations', body);
$.setActionItem({
raw: data,