mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 16:00:06 +01:00
fix: fixes to addQuote (don't require categories nor imageUrl)
also sends back role upon login
This commit is contained in:
@@ -2,6 +2,6 @@ public record class CreateQuoteDTO
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Author { get; set; }
|
||||
public List<int> CategoryIds { get; set; }
|
||||
public List<int>? CategoryIds { get; set; }
|
||||
public string? ImageUrl { get; set; }
|
||||
};
|
||||
|
||||
@@ -5,6 +5,6 @@ public record class UserInfoDTO
|
||||
public int Id { get; set; }
|
||||
required public string Name { get; set; }
|
||||
required public string Email { get; set; }
|
||||
public int Role { get; set; }
|
||||
public int Role { get; set; }
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user