Skip to content

Commit

Permalink
Update code with proper fix (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-yong committed Nov 29, 2023
1 parent c4f0d5c commit 5a59967
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') {
resolve([]);
} else {
reject(err);
Expand Down

0 comments on commit 5a59967

Please sign in to comment.