Skip to content

Refactor getUploads method and updated the test functions#8

Closed
unniznd wants to merge 2 commits into
lighthouse-web3:mainfrom
unniznd:fix_old_api
Closed

Refactor getUploads method and updated the test functions#8
unniznd wants to merge 2 commits into
lighthouse-web3:mainfrom
unniznd:fix_old_api

Conversation

@unniznd

@unniznd unniznd commented May 9, 2025

Copy link
Copy Markdown
Contributor

Updated getUploads Function:

  • Modified getUploads to use token and lastKey parameters as per the updated API documentation.
  • Changed getUploads from a static function to a class method to properly utilize the token.

Adjusted Test Cases for getUploads:

  • Updated test cases to reflect the new parameters (token and lastKey) and class method structure.

Updated Deal Status Test Function:

  • Modified the deal status test function to account for the API response field change from dealId to DealID.

@unniznd unniznd closed this Jun 5, 2025
@unniznd unniznd deleted the fix_old_api branch June 5, 2025 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant