diff options
author | 2024-05-27 19:03:54 +0200 | |
---|---|---|
committer | 2024-05-27 17:03:54 +0000 | |
commit | a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584 (patch) | |
tree | 861d2c9c7440fd6b602f46a3e18a55b4c31718d1 /internal/api/model/admin.go | |
parent | [experiment] add alternative wasm sqlite3 implementation available via build-... (diff) | |
download | gotosocial-a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584.tar.xz |
[feature/frontend] Let admins send test email to validate SMTP config (#2934)
* [feature/frontend] Let admins send test email to validate SMTP config
* wee
Diffstat (limited to 'internal/api/model/admin.go')
-rw-r--r-- | internal/api/model/admin.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/api/model/admin.go b/internal/api/model/admin.go index 637ab0ed7..4623a720f 100644 --- a/internal/api/model/admin.go +++ b/internal/api/model/admin.go @@ -201,7 +201,9 @@ type MediaCleanupRequest struct { // AdminSendTestEmailRequest models a test email send request (woah). type AdminSendTestEmailRequest struct { // Email address to send the test email to. - Email string `form:"email" json:"email" xml:"email"` + Email string `form:"email" json:"email"` + // Optional message to include in the test email. + Message string `form:"message" json:"message"` } type AdminInstanceRule struct { |