Browse Source

update API to expose is_public

tripeur 2 years ago
parent
commit
d582ece1a8
2 changed files with 2 additions and 1 deletions
  1. 1 0
      app/schemas/responses.py
  2. 1 1
      pyproject.toml

+ 1 - 0
app/schemas/responses.py

@@ -75,6 +75,7 @@ class ProjectResponse(BaseResponse):
     volunteers: list[VolunteerResponse]
     sms: list[SMSResponse]
     slots: list[SlotResponse]
+    is_public: bool
 
 
 class ProjectListResponse(BaseResponse):

+ 1 - 1
pyproject.toml

@@ -2,7 +2,7 @@
 authors = ["clovis jaquin <clovis@jaquin.fr>"]
 description = "FastAPI project API that can parse gsheet planning for brass dans la garonne event and manage creating automatic SMS notification for volunteer"
 name = "bdlg-2023"
-version = "0.1.0-alpha"
+version = "0.1.1-alpha"
 
 [tool.poetry.dependencies]
 fastapi = "^0.89.1"