aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx/sites/www/src/todos.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-16 00:08:53 +0800
committercrupest <crupest@outlook.com>2024-08-17 00:11:21 +0800
commit52510ae629a788b794745c40c697f81f0ca87f26 (patch)
tree1f2639ebfed6be3e2ee69f4ea2a3c728a592f39b /docker/crupest-nginx/sites/www/src/todos.ts
parent9fbf6b8c5a289182125fdabf754b037d2cb70eb8 (diff)
downloadcrupest-52510ae629a788b794745c40c697f81f0ca87f26.tar.gz
crupest-52510ae629a788b794745c40c697f81f0ca87f26.tar.bz2
crupest-52510ae629a788b794745c40c697f81f0ca87f26.zip
feat(www): upgrade dependencies.
Diffstat (limited to 'docker/crupest-nginx/sites/www/src/todos.ts')
-rw-r--r--docker/crupest-nginx/sites/www/src/todos.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/crupest-nginx/sites/www/src/todos.ts b/docker/crupest-nginx/sites/www/src/todos.ts
index 5e36875..b69f524 100644
--- a/docker/crupest-nginx/sites/www/src/todos.ts
+++ b/docker/crupest-nginx/sites/www/src/todos.ts
@@ -18,10 +18,10 @@ export async function fetchTodos(): Promise<Todo[]> {
if (res.status !== 200) {
console.error(
- `Failed to get TODOs. Status: ${res.status}. Body: ${body}`
+ `Failed to get TODOs. Status: ${res.status}. Body: ${body}`,
);
throw new Error(
- "Failed to fetch TODOs. (Maybe due to rate limit. Please try later.)"
+ "Failed to fetch TODOs. (Maybe due to rate limit. Please try later.)",
);
}
return body;