summaryrefslogtreecommitdiff
path: root/source/features/user-profile-follower-badge.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/user-profile-follower-badge.tsx')
-rw-r--r--source/features/user-profile-follower-badge.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/user-profile-follower-badge.tsx b/source/features/user-profile-follower-badge.tsx
index 0c5e3d29..2c5f5966 100644
--- a/source/features/user-profile-follower-badge.tsx
+++ b/source/features/user-profile-follower-badge.tsx
@@ -9,7 +9,7 @@ import * as api from '../github-helpers/api';
import {getUsername, getCleanPathname} from '../github-helpers';
const doesUserFollow = cache.function(async (userA: string, userB: string): Promise<boolean> => {
- const {httpStatus} = await api.v3(`users/${userA}/following/${userB}`, {
+ const {httpStatus} = await api.v3(`/users/${userA}/following/${userB}`, {
json: false,
ignoreHTTPStatus: true
});