mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Change message fetching to query messages.
This commit is contained in:
@@ -18,11 +18,7 @@ pub fn send_email(target: String, subject: String, body: String, html: String) -
|
||||
map.insert("html", html);
|
||||
|
||||
let client = Client::new();
|
||||
match client
|
||||
.post(&portal())
|
||||
.json(&map)
|
||||
.send()
|
||||
{
|
||||
match client.post(&portal()).json(&map).send() {
|
||||
Ok(_) => Ok(()),
|
||||
Err(_) => Err(()),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user