Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jun 22, 2023
1 parent 68caa1a commit a161346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FMBot.Subscriptions/Services/DiscordSkuService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ private DiscordEntitlement ResponseToModel(DiscordEntitlementResponseModel respo
{
DiscordUserId = response.UserId.Value,
Active = !response.EndsAt.HasValue || response.EndsAt.Value > DateTime.UtcNow,
StartsAt = response.StartsAt,
EndsAt = response.EndsAt
StartsAt = response.StartsAt.HasValue ? DateTime.SpecifyKind(response.StartsAt.Value, DateTimeKind.Utc) : null,
EndsAt = response.EndsAt.HasValue ? DateTime.SpecifyKind(response.EndsAt.Value, DateTimeKind.Utc) : null
};
}
}

0 comments on commit a161346

Please sign in to comment.