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 556e05d5ad..0566ecdd46 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() {