fix: dto consistency

This commit is contained in:
2026-03-21 14:13:19 -05:00
parent 817e0b97e6
commit ef4f0c0159
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ services:
restart: always
environment:
ConnectionStrings__DefaultConnection: Host=agologum-db;Port=5432;Database=agologum;Username=agologum;Password=${POSTGRES_PASSWORD}
Jwt__Key: ${JWT_SECRET}
Jwt__Key: ${JWT_SECRET} # must export the secret as a variable in the ci script
ports:
- "5000:5000"
networks:

View File

@@ -1,7 +1,7 @@
public class RegisterDto {
public string Username { get; set; } = "";
public string Name { get; set; } = "";
public string Email { get; set; } = "";
public string Password { get; set; } = "";
@@ -9,7 +9,7 @@ public class RegisterDto {
public class LoginDto {
public string Username { get; set; } = "";
public string Name { get; set; } = "";
public string Password { get; set; } = "";
}