fix: add color field to recycle bin response
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1086,7 +1086,7 @@ app.delete('/api/projects/:id/permanent', requireAuth, (req, res) => {
|
|||||||
app.get('/api/recycle-bin', requireAuth, (req, res) => {
|
app.get('/api/recycle-bin', requireAuth, (req, res) => {
|
||||||
try {
|
try {
|
||||||
const items = db.prepare(`
|
const items = db.prepare(`
|
||||||
SELECT id, name, description, icon, path, deletedAt
|
SELECT id, name, description, icon, color, path, deletedAt
|
||||||
FROM projects
|
FROM projects
|
||||||
WHERE deletedAt IS NOT NULL
|
WHERE deletedAt IS NOT NULL
|
||||||
ORDER BY deletedAt DESC
|
ORDER BY deletedAt DESC
|
||||||
|
|||||||
Reference in New Issue
Block a user