Skip to content

Conversation

@PlayJeri
Copy link
Member

Brief description

Added POST /change-item-price endpoint, along with new service methods for handling the price change voting. Added the new voting type and new item price fields for relevant DTOs.

Change list

  • Added POST /change-item-price endpoint
  • Added service methods to handle the new voting
  • Added the new voting type to VotingType enum
  • Added price field to CreateVotingDto
  • Added tests for new logic
  • Added handling cases for new voting type
  • Added newItemPrice to StartVotingParams
  • Changed the return type of cancelTransaction from false to null to match the correct IService return type
  • Fixed existing test

Copy link
Contributor

@jkrizsan jkrizsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@github-project-automation github-project-automation bot moved this from Backlog to Done in Altzone-Server Aug 23, 2025
@MikhailDeriabin MikhailDeriabin added feature New feature to add PR Pull request labels Aug 23, 2025
@MikhailDeriabin MikhailDeriabin linked an issue Aug 23, 2025 that may be closed by this pull request
1 task
@MikhailDeriabin MikhailDeriabin added this to the Clan stall milestone Aug 23, 2025
Copy link
Collaborator

@MikhailDeriabin MikhailDeriabin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work

@MikhailDeriabin MikhailDeriabin merged commit d09e16f into dev Aug 23, 2025
4 checks passed
@MikhailDeriabin MikhailDeriabin deleted the feature/add-fleamarket-item-change-price-voting-613 branch August 23, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature to add PR Pull request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add voting for changing item price

4 participants