feat: add friend request tab in notifications
This commit is contained in:
@@ -741,6 +741,11 @@ export const relationships = {
|
||||
`/u/${encodeURIComponent(handle)}/following?${followListQuery(opts)}`,
|
||||
);
|
||||
},
|
||||
/** The caller's pending incoming follow requests (people who asked to follow
|
||||
* you) — the notifications "Friend Requests" tab. Same shape as followers. */
|
||||
incomingRequests(opts: FollowListParams = {}) {
|
||||
return call<FollowList>(`/follow-requests?${followListQuery(opts)}`);
|
||||
},
|
||||
};
|
||||
|
||||
/** Lightweight user row in a followers / following list. */
|
||||
|
||||
Reference in New Issue
Block a user