Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Update autotag_s3_worker.js (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-yong authored Nov 2, 2023
1 parent ff43aa5 commit 0a82fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workers/autotag_s3_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AutotagS3Worker extends AutotagDefaultWorker {
Bucket: this.getBucketName(),
}, (err, res) => {
if (err) {
if (err.code === 'NoSuchTagSet' && err.statusCode === 404) {
if (err.Code === 'NoSuchTagSet' && err.statusCode === 404) {
resolve([]);
} else {
reject(err);
Expand Down

0 comments on commit 0a82fe0

Please sign in to comment.