Skip to content

Commit a9b8e34

Browse files
committed
chore(storage): Fix == and jsdoc
1 parent 94ea748 commit a9b8e34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/storage/src/prismaExtension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const createUploadsExtension = <MNames extends ModelNames = ModelNames>(
155155
)
156156
})
157157

158-
if (uploadFieldsToUpdate.length == 0) {
158+
if (uploadFieldsToUpdate.length === 0) {
159159
return query(args)
160160
} else {
161161
// MULTIPLE!
@@ -306,7 +306,6 @@ export const createUploadsExtension = <MNames extends ModelNames = ModelNames>(
306306
* This function deletes files from the storage adapter, but importantly,
307307
* it does NOT throw, because if the file is already gone, that's fine,
308308
* no need to stop the actual db operation
309-
*
310309
*/
311310
async function removeUploadedFiles(
312311
fieldsToDelete: string[],

0 commit comments

Comments
 (0)