aboutsummaryrefslogtreecommitdiff
path: root/BartService.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2024-10-25 09:47:20 +1100
committerJake Mannens <jake@asger.xyz>2024-11-01 16:23:35 +1100
commitea9c7d3867d34ee5b4f5cfa981448c37000f61d6 (patch)
tree6d6ef306e56ace0d74004c329bced7513d193399 /BartService.cs
parent1ce51d389f190432ea62d28aff6e1423063d21b3 (diff)
Trim member name before adding to the DB
Diffstat (limited to 'BartService.cs')
-rw-r--r--BartService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BartService.cs b/BartService.cs
index 77a8e5a..5c33d26 100644
--- a/BartService.cs
+++ b/BartService.cs
@@ -152,7 +152,7 @@ namespace PagerParser.Bart {
var users = responseData.GetUserAvailabilityListResult.List
.Select(e => new BartMember() {
BartMemberId = e.UserId,
- MemberName = e.MemberName
+ MemberName = e.MemberName.Trim()
})
.ToArray();