mirror of
https://github.com/UofCBaja/BajaCloud.git
synced 2025-07-08 20:17:13 -06:00
feat:(Packagers): post request sorted
This commit is contained in:
@ -17,20 +17,16 @@ def SelectAppointment (appointmentJson):
|
||||
``Contact``: darkicewolf50@gmail.com
|
||||
"""
|
||||
|
||||
print(appointmentJson)
|
||||
|
||||
status = mockWriteFunction(appointmentJson)
|
||||
|
||||
if status:
|
||||
resBody = {"Success": True}
|
||||
resBody = {"Success": True, "message": ""}
|
||||
else:
|
||||
resBody = {"Success": False}
|
||||
resBody = {"Success": False, "message": ""}
|
||||
|
||||
return {
|
||||
"statusCode": 200,
|
||||
"isBase64ENcoded": "false",
|
||||
"body": json.dumps(resBody)
|
||||
}
|
||||
resBody["message"] = appointmentJson["message"]
|
||||
return resBody
|
||||
|
||||
def mockWriteFunction(appTime):
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user