feat: batch remove friends #2032
@ -80,7 +80,7 @@ export const removeFriendPostController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
    await Promise.all(promises);
 | 
					    await Promise.all(promises);
 | 
				
			||||||
    res.json({
 | 
					    res.json({
 | 
				
			||||||
        Friends: response
 | 
					        Friends: response
 | 
				
			||||||
    } satisfies IRemoveFriendsResponse)
 | 
					    } satisfies IRemoveFriendsResponse);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// The friend ids format is a bit weird, e.g. when 6633b81e9dba0b714f28ff02 (A) is friends with 67cdac105ef1f4b49741c267 (B), A's friend id for B is 808000105ef1f40560ca079e and B's friend id for A is 8000b81e9dba0b06408a8075.
 | 
					// The friend ids format is a bit weird, e.g. when 6633b81e9dba0b714f28ff02 (A) is friends with 67cdac105ef1f4b49741c267 (B), A's friend id for B is 808000105ef1f40560ca079e and B's friend id for A is 8000b81e9dba0b06408a8075.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user