From 4aa2257fed7de63f7e3d50d87c0edd62ffad0b01 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 3 Sep 2022 16:16:00 +0900 Subject: [PATCH] fix(client): fix syntax error of pages/follow.vue --- packages/client/src/pages/follow.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/pages/follow.vue b/packages/client/src/pages/follow.vue index f44d355aa..828246d67 100644 --- a/packages/client/src/pages/follow.vue +++ b/packages/client/src/pages/follow.vue @@ -27,7 +27,9 @@ async function follow(user): Promise { } const acct = new URL(location.href).searchParams.get('acct'); -if (acct == null) return; +if (acct == null) { + throw new Error('acct required'); +} let promise;