You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a DAL function in the Sponsorship API.
The function will accept the sponsorshipID and the sponsorID.
The image should be accepted as parameter. The image will be uploaded in Firebase Storage and the public link will be used to update sponsor's document in Firestore. If a logo image is already set, it should be deleted from Firebase Storage.
The response will be an error if something goes wrong. Otherwise, the function will provide the updated sponsor object in the response's body, including the ID of the document in the DB.
gregoriopalama
changed the title
BO28 - Create an endpoint to update a sponsor's logo image
BO28 - Create a DAL function to update a sponsor's logo image
Jul 25, 2024
Add a DAL function in the Sponsorship API.
The function will accept the sponsorshipID and the sponsorID.
The image should be accepted as parameter. The image will be uploaded in Firebase Storage and the public link will be used to update sponsor's document in Firestore. If a logo image is already set, it should be deleted from Firebase Storage.
The response will be an error if something goes wrong. Otherwise, the function will provide the updated sponsor object in the response's body, including the ID of the document in the DB.
Depends on #186
The text was updated successfully, but these errors were encountered: