added prettier settings

This commit is contained in:
daniel31x13
2023-12-29 12:21:22 -05:00
parent e4fc8948fa
commit ee6dcdcc5b
21 changed files with 480 additions and 291 deletions
+4 -1
View File
@@ -40,7 +40,10 @@ async function emptyS3Directory(bucket: string, dir: string) {
export default async function removeFolder({ filePath }: { filePath: string }) {
if (s3Client) {
try {
await emptyS3Directory(process.env.SPACES_BUCKET_NAME as string, filePath);
await emptyS3Directory(
process.env.SPACES_BUCKET_NAME as string,
filePath
);
} catch (err) {
console.log("Error", err);
}