much cleaner sorting logic
This commit is contained in:
@@ -72,7 +72,7 @@ export default async function postLink(
|
||||
},
|
||||
})),
|
||||
},
|
||||
title,
|
||||
description: title,
|
||||
},
|
||||
include: { tags: true, collection: true },
|
||||
});
|
||||
|
||||
@@ -14,7 +14,7 @@ export default async function getCollection(collectionId: number) {
|
||||
id: true,
|
||||
name: true,
|
||||
url: true,
|
||||
title: true,
|
||||
description: true,
|
||||
collectionId: true,
|
||||
createdAt: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user