Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

email_log: Convert module to TypeScript.

Anders Kaseorg97f4847c714a
diff --git a/web/src/portico/email_log.js b/web/src/portico/email_log.ts
similarity index 98%
rename from web/src/portico/email_log.js
rename to web/src/portico/email_log.ts
index 556e05d5ad9..0566ecdd466 100644
--- a/web/src/portico/email_log.js
+++ b/web/src/portico/email_log.ts
@@ -37,7 +37,7 @@ $(() => {
const csrf_token = $('input[name="csrfmiddlewaretoken"]').attr("value");
const data = {forward_address: address, csrfmiddlewaretoken: csrf_token};
- channel.post({
+ void channel.post({
url: "/emails/",
data,
success() {