@studious-lms/server 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/fileUpload.js +1 -1
- package/package.json +1 -1
- package/src/lib/fileUpload.ts +1 -1
package/dist/lib/fileUpload.js
CHANGED
|
@@ -2,7 +2,7 @@ import { TRPCError } from "@trpc/server";
|
|
|
2
2
|
import { v4 as uuidv4 } from "uuid";
|
|
3
3
|
import { getSignedUrl, objectExists } from "./googleCloudStorage.js";
|
|
4
4
|
import { prisma } from "./prisma.js";
|
|
5
|
-
import { logger } from "
|
|
5
|
+
import { logger } from "../utils/logger.js";
|
|
6
6
|
// DEPRECATED: These functions are no longer used - files are uploaded directly to GCS
|
|
7
7
|
// Use createDirectUploadFile() and createDirectUploadFiles() instead
|
|
8
8
|
/**
|
package/package.json
CHANGED
package/src/lib/fileUpload.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { v4 as uuidv4 } from "uuid";
|
|
|
3
3
|
import { getSignedUrl, objectExists } from "./googleCloudStorage.js";
|
|
4
4
|
import { generateMediaThumbnail } from "./thumbnailGenerator.js";
|
|
5
5
|
import { prisma } from "./prisma.js";
|
|
6
|
-
import { logger } from "
|
|
6
|
+
import { logger } from "../utils/logger.js";
|
|
7
7
|
|
|
8
8
|
export interface FileData {
|
|
9
9
|
name: string;
|