diff options
| author | Adam Soltys <[email protected]> | 2026-02-28 15:16:20 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-28 15:16:20 -0800 |
| commit | 32f01e3e328db0006a55c6324625b49d60244b66 (patch) | |
| tree | b97866549b919964957365e1e05681e85af7021a /routes/email.ts | |
| parent | a1632ae402d11fdd7ffc360de97c55e0b4fad677 (diff) | |
| download | coinos-server-32f01e3e328db0006a55c6324625b49d60244b66.tar.gz coinos-server-32f01e3e328db0006a55c6324625b49d60244b66.zip | |
fix typescript issues
Diffstat (limited to 'routes/email.ts')
| -rw-r--r-- | routes/email.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/email.ts b/routes/email.ts index ff6ffaeb..f6abf991 100644 --- a/routes/email.ts +++ b/routes/email.ts @@ -1,7 +1,7 @@ import { bail } from "$lib/utils"; import got from "got"; import config from "$config"; -import { l, warn } from "$lib/logging"; +import { warn } from "$lib/logging"; import { SESClient } from "@aws-sdk/client-ses"; import { SendEmailCommand } from "@aws-sdk/client-ses"; @@ -21,7 +21,7 @@ export default { response, }, }) - .json(); + .json() as any; if (success || response === config.adminpass) { body.token = undefined; |
