trying to fix container build time
This commit is contained in:
parent
5817632299
commit
04c8252b91
@ -10,6 +10,11 @@ interface RemainingTimeRouteProps {
|
||||
};
|
||||
}
|
||||
export async function GET(request: Request, { params }: RemainingTimeRouteProps) {
|
||||
// Trying to fix build error in container...
|
||||
if (params.jobId === undefined) {
|
||||
return Response.json({});
|
||||
}
|
||||
|
||||
// Get the job details
|
||||
const jobDetails = await db.query.printJobs.findFirst({
|
||||
where: eq(printJobs.id, params.jobId),
|
||||
|
Loading…
x
Reference in New Issue
Block a user