summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/DriveService.ts
diff options
context:
space:
mode:
authorwoxtu <woxtup@gmail.com>2023-08-05 13:56:33 +0900
committerGitHub <noreply@github.com>2023-08-05 13:56:33 +0900
commit79966d33b5769fb9b527f6aa158bf24a26850f4c (patch)
tree91047d8b7fce3c30f50584f50711a45446097abd /packages/backend/src/core/DriveService.ts
parentrefactor(backend): Remove unused injections (#11462) (diff)
downloadmisskey-79966d33b5769fb9b527f6aa158bf24a26850f4c.tar.gz
misskey-79966d33b5769fb9b527f6aa158bf24a26850f4c.tar.bz2
misskey-79966d33b5769fb9b527f6aa158bf24a26850f4c.zip
Fix typos (#11450)
Diffstat (limited to 'packages/backend/src/core/DriveService.ts')
-rw-r--r--packages/backend/src/core/DriveService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/core/DriveService.ts b/packages/backend/src/core/DriveService.ts
index 511c2c9581..8c5c41ca01 100644
--- a/packages/backend/src/core/DriveService.ts
+++ b/packages/backend/src/core/DriveService.ts
@@ -332,7 +332,7 @@ export class DriveService {
this.registerLogger.debug('web image not created (not an required image)');
}
} catch (err) {
- this.registerLogger.warn('web image not created (an error occured)', err as Error);
+ this.registerLogger.warn('web image not created (an error occurred)', err as Error);
}
} else {
if (satisfyWebpublic) this.registerLogger.info('web image not created (original satisfies webpublic)');
@@ -351,7 +351,7 @@ export class DriveService {
thumbnail = await this.imageProcessingService.convertSharpToWebp(img, 498, 422);
}
} catch (err) {
- this.registerLogger.warn('thumbnail not created (an error occured)', err as Error);
+ this.registerLogger.warn('thumbnail not created (an error occurred)', err as Error);
}
// #endregion thumbnail