GUI-STUDIO commited on
Commit ·
bfff997
1
Parent(s): e7ae88a
changes
Browse files
src/sub-router/showtime/v2.ts
CHANGED
|
@@ -199,7 +199,7 @@ const sub_router = new Elysia({ prefix: "/showtimeV2" }).get(
|
|
| 199 |
file: output_destination,
|
| 200 |
job_id,
|
| 201 |
output_destination,
|
| 202 |
-
logs: current_job.logs,
|
| 203 |
...(ops === "just_check" ? { passed: true } : {})
|
| 204 |
};
|
| 205 |
}
|
|
@@ -214,14 +214,14 @@ const sub_router = new Elysia({ prefix: "/showtimeV2" }).get(
|
|
| 214 |
if (ops === "just_check") {
|
| 215 |
return {
|
| 216 |
passed: true,
|
| 217 |
-
logs: current_job.logs
|
| 218 |
};
|
| 219 |
}
|
| 220 |
} else {
|
| 221 |
if (ops === "just_check") {
|
| 222 |
return {
|
| 223 |
passed: false,
|
| 224 |
-
logs: current_job.logs
|
| 225 |
};
|
| 226 |
}
|
| 227 |
|
|
@@ -286,7 +286,7 @@ const sub_router = new Elysia({ prefix: "/showtimeV2" }).get(
|
|
| 286 |
percent,
|
| 287 |
transcoded_size,
|
| 288 |
output_destination,
|
| 289 |
-
logs: current_job.logs,
|
| 290 |
...(typeof seed_file === "string" ? { stream_link: seed_file } : {}),
|
| 291 |
...(seed_file && "stream_link" in seed_file && seed_file.stream_link
|
| 292 |
? { stream_link: seed_file.stream_link }
|
|
|
|
| 199 |
file: output_destination,
|
| 200 |
job_id,
|
| 201 |
output_destination,
|
| 202 |
+
logs: current_job?.logs,
|
| 203 |
...(ops === "just_check" ? { passed: true } : {})
|
| 204 |
};
|
| 205 |
}
|
|
|
|
| 214 |
if (ops === "just_check") {
|
| 215 |
return {
|
| 216 |
passed: true,
|
| 217 |
+
logs: current_job?.logs
|
| 218 |
};
|
| 219 |
}
|
| 220 |
} else {
|
| 221 |
if (ops === "just_check") {
|
| 222 |
return {
|
| 223 |
passed: false,
|
| 224 |
+
logs: current_job?.logs
|
| 225 |
};
|
| 226 |
}
|
| 227 |
|
|
|
|
| 286 |
percent,
|
| 287 |
transcoded_size,
|
| 288 |
output_destination,
|
| 289 |
+
logs: current_job?.logs,
|
| 290 |
...(typeof seed_file === "string" ? { stream_link: seed_file } : {}),
|
| 291 |
...(seed_file && "stream_link" in seed_file && seed_file.stream_link
|
| 292 |
? { stream_link: seed_file.stream_link }
|