summaryrefslogtreecommitdiffstats
path: root/server/src/Utilities/GithubAuthenticationHelpers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Utilities/GithubAuthenticationHelpers.cs')
-rw-r--r--server/src/Utilities/GithubAuthenticationHelpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/Utilities/GithubAuthenticationHelpers.cs b/server/src/Utilities/GithubAuthenticationHelpers.cs
index f924ecc..f78e1ae 100644
--- a/server/src/Utilities/GithubAuthenticationHelpers.cs
+++ b/server/src/Utilities/GithubAuthenticationHelpers.cs
@@ -52,7 +52,7 @@ public static class GithubAuthenticationHelpers
if (!handled) {
var userId = Guid.NewGuid();
- var insertUserQuery = $@"INSERT INTO users VALUES ('{userId}', '{githubUsername}', '', '{DateTime.UtcNow}')";
+ var insertUserQuery = $@"INSERT INTO users VALUES ('{userId}', '{githubUsername}', '', '{AppDateTime.UtcNow}')";
await connection.OpenAsync();
await using var insertUserCommand = new NpgsqlCommand(insertUserQuery, connection);
await insertUserCommand.ExecuteNonQueryAsync();