KnightHacks / hackathon-2021-backend

The backend api for Knight Hacks.
https://api.knighthacks.org/apidocs/
MIT License
3 stars 3 forks source link

Sponsor Schema Socials Change #103

Closed ElijahMSmith closed 2 years ago

ElijahMSmith commented 2 years ago

Since mobile team is only using one website per sponsor, we should change the schema of sponsors given and submitted through the endpoints to have a string property 'sponsor_website' instead of a dictionary 'socials'.

For reference, the current schema: image

ElijahMSmith commented 2 years ago

I've set the schema in the admin tool to receive the following, which has the new property as sponsor_website, but that is easily changed if something else seems to fit better: image