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

BO18 - Create a DAL function to update a Sponsorship level #183

Open
gregoriopalama opened this issue Apr 17, 2024 · 0 comments
Open

BO18 - Create a DAL function to update a Sponsorship level #183

gregoriopalama opened this issue Apr 17, 2024 · 0 comments
Labels
help wanted Extra attention is needed task This is a Task. Contributors can work on this

Comments

@gregoriopalama
Copy link
Member

gregoriopalama commented Apr 17, 2024

Add a DAL function in the Sponsorship API.

The function should accept the informations about the sponsorship level. All the informations will be updated. The informations are listed below:

  • partnershipID;
  • name;
  • position: this will be checked. If there is an other sponsorship level with the same position, the other one will be updated and moved to the next position, and the same will be done for any other level with a colliding position.

The response will be an error if something goes wrong. Otherwise, the function will provide the updated sponsorship level object, including the ID of the document in the DB.

@gregoriopalama gregoriopalama converted this from a draft issue Apr 17, 2024
@gregoriopalama gregoriopalama moved this from Backlog to Ready in Hedwig Apr 17, 2024
@gregoriopalama gregoriopalama added help wanted Extra attention is needed task This is a Task. Contributors can work on this labels Apr 17, 2024
@gregoriopalama gregoriopalama changed the title BO18 - Create an endpoint to update a Sponsorship level BO18 - Create a DAL function to update a Sponsorship level Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed task This is a Task. Contributors can work on this
Projects
Status: Ready
Development

No branches or pull requests

1 participant