mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
fix: Retrieve all video versions by removing the isActive filter and take limit from API queries.
This commit is contained in:
@@ -25,9 +25,7 @@ export async function GET(request: NextRequest, { params }: RouteParams) {
|
||||
include: {
|
||||
project: true,
|
||||
versions: {
|
||||
where: { isActive: true },
|
||||
orderBy: { versionNumber: 'desc' },
|
||||
take: 1,
|
||||
...(includeComments ? {
|
||||
include: {
|
||||
comments: {
|
||||
|
||||
Reference in New Issue
Block a user