Spaces:
Runtime error
Runtime error
CaesarCloudSync
commited on
Commit
·
22c9687
1
Parent(s):
019d659
Email Send Works
Browse files
main.py
CHANGED
@@ -546,6 +546,7 @@ async def sendnowrevisioncard(data : JSONStructure = None, authorization: str =
|
|
546 |
#mail.send(msg)
|
547 |
return {"message":"revision card sent"}
|
548 |
except Exception as ex:
|
|
|
549 |
return {f"error":f"{type(ex)},{str(ex)}"}
|
550 |
@app.get('/checkschedulerevisioncard')# GET # allow all origins all methods.
|
551 |
async def checkschedulerevisioncard(authorization: str = Header(None)):
|
|
|
546 |
#mail.send(msg)
|
547 |
return {"message":"revision card sent"}
|
548 |
except Exception as ex:
|
549 |
+
print({f"error":f"{type(ex)},{str(ex)}"})
|
550 |
return {f"error":f"{type(ex)},{str(ex)}"}
|
551 |
@app.get('/checkschedulerevisioncard')# GET # allow all origins all methods.
|
552 |
async def checkschedulerevisioncard(authorization: str = Header(None)):
|