fix: allow for image deletion (by leaving blank url)

This commit is contained in:
2025-07-30 11:14:12 +02:00
parent d81a6b961c
commit 75beb7a8a1

View File

@@ -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?