remove more ternaries

This commit is contained in:
Isaac Wise
2024-07-27 16:17:38 -05:00
parent fa051c0d4d
commit ff31732ba3
17 changed files with 80 additions and 70 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export default async function moveFile(from: string, to: string) {
};
try {
s3Client.copyObject(copyParams, async (err: any) => {
s3Client.copyObject(copyParams, async (err: unknown) => {
if (err) {
console.error("Error copying the object:", err);
} else {