Skip to content

Commit

Permalink
Merge pull request #145 from SaintAngeLs/hot_fix
Browse files Browse the repository at this point in the history
(#143) events appsetting udpate
  • Loading branch information
SaintAngeLs authored May 12, 2024
2 parents 5d9cfc1 + 710a803 commit 1ecebbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"type": "fabio",
"retries": 3,
"services": {
"students": "http://localhost:5007",
"friends": "http://localhost:5012",
"organizations": "http://localhost:5015"
"students": "students-service",
"friends": "friends-service",
"organizations": "organizations-service"
}
},
"jwt": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public async Task<IEnumerable<FriendDto>> GetAllFriendsAsync(Guid studentId)
foreach (var friend in friends)
{
friend.StudentDetails = await GetStudentAsync(friend.FriendId);
Console.WriteLine($"Friend ID: {friend.FriendId}, Friend's Student ID: {friend.StudentDetails.Id}, Name: {friend.StudentDetails.FirstName} {friend.StudentDetails.LastName}");
}
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<h5>@friend.StudentDetails.FirstName @friend.StudentDetails.LastName</h5>
<p>@friend.StudentDetails.Email</p>
<div class="buttons">
<RadzenButton ButtonStyle="Radzen.ButtonStyle.Secondary" Text="Details" Click="@(() => ViewDetails(friend.StudentId))" Style="margin-right: 10px;" />
<RadzenButton ButtonStyle="Radzen.ButtonStyle.Secondary" Text="Details" Click="@(() => ViewDetails(friend.FriendId))" Style="margin-right: 10px;" />
<RadzenButton Text="Remove" Click="@(() => ConfirmRemoveFriend(friend.StudentDetails.Id))" ButtonStyle="Radzen.ButtonStyle.Danger" />
</div>
</div>
Expand Down

0 comments on commit 1ecebbc

Please sign in to comment.