diff options
Diffstat (limited to 'packages/client/src')
| -rw-r--r-- | packages/client/src/pages/follow.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/client/src/pages/follow.vue b/packages/client/src/pages/follow.vue index f44d355aac..828246d678 100644 --- a/packages/client/src/pages/follow.vue +++ b/packages/client/src/pages/follow.vue @@ -27,7 +27,9 @@ async function follow(user): Promise<void> { } const acct = new URL(location.href).searchParams.get('acct'); -if (acct == null) return; +if (acct == null) { + throw new Error('acct required'); +} let promise; |