Skip to content

Commit 2d3730f

Browse files
author
Rajat Saxena
committed
CodeQL fixes
1 parent f99618f commit 2d3730f

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

apps/api/src/tus/queries.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { TUS_UPLOAD_EXPIRATION_HOURS } from "../config/constants";
2-
import logger from "../services/log";
32
import TusUploadModel, { TusUpload } from "./model";
43

54
type TusUploadDocument = any;

examples/next-app-router/components/TusUploadForm.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,6 @@ export default function TusUploadForm() {
4747
throw new Error(error || "Failed to get signature");
4848
}
4949

50-
// const {
51-
// signature,
52-
// endpoint,
53-
// error: tusError,
54-
// } = await signatureResponse.json();
55-
56-
if (!signature) {
57-
throw new Error("Failed to get signature from presigned URL");
58-
}
59-
6050
// Use the endpoint directly since we're sending signature in headers
6151
const uploadUrl = `${endpoint}/media/create/resumable`;
6252

0 commit comments

Comments
 (0)