Skip to content

Commit

Permalink
docs: update s3.js (#122)
Browse files Browse the repository at this point in the history
occured -> occurred
  • Loading branch information
eltociear committed May 15, 2024
1 parent 3c5f466 commit cc1c36a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/actions/src/utils/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const findOrCreateBucket = async (bucketName) => {

return {};
} catch (error) {
logger.error(`An error occured while working with the bucket: ${error}`);
logger.error(`An error occurred while working with the bucket: ${error}`);

return { error };
}
Expand All @@ -87,7 +87,7 @@ export const getPresignedDowloadUrl = async ({ bucketName, filePath }) => {

return { url };
} catch (error) {
logger.error(`An error occured while signing URL to the file: ${error}`);
logger.error(`An error occurred while signing URL to the file: ${error}`);

return { error };
}
Expand Down Expand Up @@ -117,7 +117,7 @@ export const putFileToBucket = async ({
})
);
} catch (error) {
logger.error(`An error occured while working with the file: ${error}`);
logger.error(`An error occurred while working with the file: ${error}`);

return { error };
}
Expand Down

0 comments on commit cc1c36a

Please sign in to comment.