mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 20:10:07 +01:00
fix: allow for image deletion (by leaving blank url)
This commit is contained in:
@@ -387,6 +387,7 @@ public class QuotesController : ControllerBase
|
||||
// Try to find the quote in question
|
||||
Quote? quote = await _db.Quotes
|
||||
.Include(q => q.QuoteCategories)
|
||||
.Include(q => q.Image)
|
||||
.FirstOrDefaultAsync(q => q.Id == id);
|
||||
|
||||
// Failed?
|
||||
|
||||
Reference in New Issue
Block a user