Skip to content

Commit

Permalink
Updates ParticipationClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddvocado committed Aug 17, 2023
1 parent bda195e commit bb3c3ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/UDS.Net.API.Client/ParticipationClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ public async Task<ParticipationDto> GetByLegacyId(string legacyId)
{
var response = await GetRequest($"{_BasePath}/LegacyId/{legacyId}");

ParticipationDto id = JsonSerializer.Deserialize<ParticipationDto>(response, options);

return id;
return JsonSerializer.Deserialize<ParticipationDto>(response, options);

}
}
}
Expand Down

0 comments on commit bb3c3ba

Please sign in to comment.