Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d5e8f4

Browse files
committed
Support links in documents containing the baseURL
1 parent 9c83d69 commit 3d5e8f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsonapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export const deleteRelationship = (resource, relationship, data) => {
341341
}));
342342

343343
const { axiosConfig } = getState().api.endpoint;
344-
const endpoint = getRelationshipEndpoint(resource, relationship);
344+
const endpoint = getRelationshipEndpoint(resource, relationship, axiosConfig);
345345

346346
const options = {
347347
...axiosConfig,

0 commit comments

Comments
 (0)