NoahH99 / link-vault

LinkVault is a versatile web application designed to provide users with efficient URL shortening and secure file storage services. It offers a seamless experience for managing and sharing links and files, ensuring convenience and reliability for both personal and professional use.
MIT License
1 stars 0 forks source link

Flip Switch #7

Closed NoahH99 closed 5 months ago

NoahH99 commented 5 months ago

Error when making a GET request to http://localhost/api/flipswitch/idk/2

{"detail":[{"type":"missing","loc":["query","flipSwitch"],"msg":"Field required","input":null,"url":"https://errors.pydantic.dev/2.6/v/missing"}]}
NoahH99 commented 5 months ago

There was a typo in the code causing this issue. @Mariner10 fixed said issue with commit 07fbda5.

It's all fixed now and you can see the updates lines here: https://github.com/NoahH99/link-vault/blob/b7ee0399cad8f823cb47f574a3b08dbe351b7bc1/file-storage-service/api/endpoints/flipswitch.py#L18-L19