Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Return item curation when updating/publishing #420

Merged
merged 21 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spec/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export function mockAuthorizationMiddleware(

/**
* Mocks the "withModelAuthorization" middleware used in the collection's middleware
* by mocking all the function calls to the Collection model and the TPW requests.
* This mock requires the Collection model and the TPW API "isManager" method to be mocked first.
* by mocking all the function calls to the Collection model and the TP requests.
* This mock requires the Collection model and the TP API "isManager" method to be mocked first.
*
* @param id - The id of the collection to be authorized.
* @param ethAddress - The ethAddress of the user that will be requesting authorization to the collection.
Expand Down Expand Up @@ -218,7 +218,7 @@ export function mockThirdPartyURNExists(

/**
* Mocks the "withModelAuthorization" middleware used in the items's middleware
* by mocking all the function calls to the Collection model and the TPW requests.
* by mocking all the function calls to the Collection model and the TP requests.
* This mock requires the Item model findOne method to be mocked first.
*
* @param id - The id of the item to be authorized.
Expand Down
Loading