Cleaned up ProfileFriends page, but i need some input about the backend, might need to change some things

This commit is contained in:
Me
2022-12-13 07:06:08 +01:00
parent 913a81ef0a
commit 44074af237
3 changed files with 131 additions and 134 deletions

View File

@@ -17,6 +17,10 @@ export class FriendshipController {
return this.friendshipService.findAllFriends(user.id);
}
// the username may change but the relationship id will not so we need to grab the relationship id from the username
// ie did that username send a friendship thing, and if so what are the ids
// GET http://transcendance:8080/api/v2/network/myfriends/relationshipId
@Get('myfriend/:relationshipId')
@UseGuards(AuthenticateGuard)