mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
Compare commits
3 Commits
fix/friend
...
fix/friend
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42386ae0b5 | ||
|
|
04d8f900a6 | ||
|
|
b2bffeb2b0 |
@@ -111,7 +111,7 @@ export function useUserDetails() {
|
||||
);
|
||||
|
||||
const undoFriendship = (userId: string) =>
|
||||
window.electron.hydraApi.delete(`/profile/friends/${userId}`);
|
||||
window.electron.hydraApi.delete(`/profile/friend-requests/${userId}`);
|
||||
|
||||
const blockUser = (userId: string) =>
|
||||
window.electron.hydraApi.post(`/users/${userId}/block`);
|
||||
|
||||
Reference in New Issue
Block a user