summaryrefslogtreecommitdiff
path: root/source/features/user-profile-follower-badge.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-11-18 19:55:59 -0500
committerGravatar GitHub <noreply@github.com> 2020-11-18 18:55:59 -0600
commita935456acab0c7bdc021829e18ce20230e18c752 (patch)
treee61eed13a433381ba223a4ca962e904c8740fc91 /source/features/user-profile-follower-badge.tsx
parentcab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff)
downloadrefined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.tar.gz
refined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.tar.zst
refined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.zip
Lint (#3723)20.11.19
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
});