aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/DatabaseExtensions.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
committercrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
commit4aadb05cd5718c7d16bf432c96e23ae4e7db4783 (patch)
treea45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline/Services/DatabaseExtensions.cs
parente6069a6980ec6d2505e19026d4c84a9588f153dc (diff)
downloadtimeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.tar.gz
timeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.tar.bz2
timeline-4aadb05cd5718c7d16bf432c96e23ae4e7db4783.zip
...
Diffstat (limited to 'Timeline/Services/DatabaseExtensions.cs')
-rw-r--r--Timeline/Services/DatabaseExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/DatabaseExtensions.cs b/Timeline/Services/DatabaseExtensions.cs
index 140c3146..c5c96d8c 100644
--- a/Timeline/Services/DatabaseExtensions.cs
+++ b/Timeline/Services/DatabaseExtensions.cs
@@ -19,7 +19,7 @@ namespace Timeline.Services
/// <exception cref="ArgumentNullException">Thrown if <paramref name="username"/> is null.</exception>
/// <exception cref="UsernameBadFormatException">Thrown if <paramref name="username"/> is of bad format.</exception>
/// <exception cref="UserNotExistException">Thrown if user does not exist.</exception>
- internal static async Task<long> CheckAndGetUser(DbSet<User> userDbSet, string? username)
+ internal static async Task<long> CheckAndGetUser(DbSet<UserEntity> userDbSet, string? username)
{
if (username == null)
throw new ArgumentNullException(nameof(username));