Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1292 from openlattice/develop
Browse files Browse the repository at this point in the history
2021-06-17 release
  • Loading branch information
UnsungHero97 authored Jun 17, 2021
2 parents 4e57c23 + ca6d8f4 commit 3203b5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/CollaborationsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function renameCollaborationDatabase(collaborationId :UUID, name :string) :Promi
}

/**
* `GET /collaborations/{collaborationId}/project/{organizationId}/{dataSetId}`
* `PATCH /collaborations/{collaborationId}/project/{organizationId}/{dataSetId}`
*
* Adds the given data set id to the [Collaboration] object with the given collaboration id. The target data set
* object must belong to the [Organization] object with the given organization id. The caller must have:
Expand Down Expand Up @@ -390,7 +390,7 @@ function addDataSetToCollaboration(collaborationId :UUID, organizationId :UUID,
}

return getApiAxiosInstance(COLLABORATIONS_API)
.get(`/${collaborationId}/${PROJECT_PATH}/${organizationId}/${dataSetId}`)
.patch(`/${collaborationId}/${PROJECT_PATH}/${organizationId}/${dataSetId}`)
.then((axiosResponse) => axiosResponse.data)
.catch((error :Error) => {
LOG.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/api/CollaborationsApi.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe(COLLABORATIONS_API, () => {
}
},
'(collaborationId, organizationId, dataSetId)': {
method: 'get',
method: 'patch',
params: {
axios: [`/${MOCK_COLLABORATION_ID}/${PROJECT_PATH}/${MOCK_ORG_1_ID}/${MOCK_DATA_SET_1_ID}`],
valid: [MOCK_COLLABORATION_ID, MOCK_ORG_1_ID, MOCK_DATA_SET_1_ID],
Expand Down

0 comments on commit 3203b5d

Please sign in to comment.