refactor: Prevent leading slashes in API urls (#34680)
This commit is contained in:
parent
8d5b73d70d
commit
c45ce549af
3 changed files with 8 additions and 7 deletions
|
|
@ -36,6 +36,6 @@ export const apiGetEndorsedAccounts = (id: string) =>
|
|||
apiRequestGet<ApiAccountJSON>(`v1/accounts/${id}/endorsements`);
|
||||
|
||||
export const apiGetFamiliarFollowers = (id: string) =>
|
||||
apiRequestGet<ApiFamiliarFollowersJSON>('/v1/accounts/familiar_followers', {
|
||||
apiRequestGet<ApiFamiliarFollowersJSON>('v1/accounts/familiar_followers', {
|
||||
id,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue