Skip to content

Commit b8dce47

Browse files
committed
Fixed certain minor issues
1 parent 4b1c1b5 commit b8dce47

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"functions": [
33
{
44
"source": "functions",
5-
"runtime": "python311",
5+
"runtime": "python312",
66
"ignore": ["venv", ".git", "firebase-debug.log", "firebase-debug.*.log"]
77
}
88
]

functions/Google/Document.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def __init__(self, google, teacher, end_date, type):
106106
file_id = STUDENT_CONTRACT_TEMPLATE_ID
107107
case "Volunteer Contract":
108108
file_id = VOLUNTEER_CONTRACT_TEMPLATE_ID
109+
case "Volunteering Contract":
110+
file_id = VOLUNTEER_CONTRACT_TEMPLATE_ID
109111
case "Convention":
110112
file_id = CONVENTION_TEMPLATE_ID
111113
case "NDA":

functions/Helpers/Decorators.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ def https_fn_custom(timeout_sec=60, memory=256, access=False):
2626
cors=options.CorsOptions(
2727
cors_origins=[
2828
"https://www.ilplatform.be",
29-
"https://admin.ilplatform.be",
29+
# "https://admin.ilplatform.be",
3030
"https://curriculum.ilplatform.be",
31-
"https://independentlearningplatform.lightning.force.com",
32-
"https://independentlearningplatform--internbox.sandbox.lightning.force.com"
31+
"https://ilplatform-curriculum-new.web.app/",
32+
# "https://independentlearningplatform.lightning.force.com",
33+
# "https://independentlearningplatform--internbox.sandbox.lightning.force.com"
3334
],
3435
cors_methods=["get", "post", "options"]
3536
),

0 commit comments

Comments
 (0)