mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-04-20 03:36:17 +00:00
refac: Email.py module with bugfix (#1058)
* refac: refactor Email.py module for clarity * chore: rework ready method for dynamic config * chore: implement resolvconf from v4.3.2-dev
This commit is contained in:
@@ -1463,7 +1463,7 @@ def API_Locale_Update():
|
||||
|
||||
@app.get(f'{APP_PREFIX}/api/email/ready')
|
||||
def API_Email_Ready():
|
||||
return ResponseObject(EmailSender.ready())
|
||||
return ResponseObject(EmailSender.is_ready())
|
||||
|
||||
@app.post(f'{APP_PREFIX}/api/email/send')
|
||||
def API_Email_Send():
|
||||
|
||||
Reference in New Issue
Block a user