Some tournaments have logos and corresponding staff members should have the ability to do set or remove it. There is already a field for this in the database schema.
How?
Would be almost the same implementation for uploading tournament banners, just changing some values that are specific to the tournament's logo instead of banner. To see the implementation of getting, uploading and deleting a tournament's banner, check src/routes/api/assets/tournament_banner/+server.ts.
Why?
Some tournaments have logos and corresponding staff members should have the ability to do set or remove it. There is already a field for this in the database schema.
How?
Would be almost the same implementation for uploading tournament banners, just changing some values that are specific to the tournament's logo instead of banner. To see the implementation of getting, uploading and deleting a tournament's banner, check
src/routes/api/assets/tournament_banner/+server.ts
.