diff --git a/src/scripts/build/uploadAutoCompleteLocations.js b/src/scripts/build/uploadAutoCompleteLocations.js index 666dd20306a..bb1b26ea225 100644 --- a/src/scripts/build/uploadAutoCompleteLocations.js +++ b/src/scripts/build/uploadAutoCompleteLocations.js @@ -22,7 +22,7 @@ import { rmSync, writeFileSync, } from "fs"; -import { uploadToS3 } from "../s3.js"; +import { uploadToS3 } from "../../utils/s3.js"; import Sentry from "@sentry/nextjs"; import os from "os"; import path from "path"; diff --git a/src/scripts/cronjobs/syncBreaches.ts b/src/scripts/cronjobs/syncBreaches.ts index 8c3f55da45a..99a248109ed 100644 --- a/src/scripts/cronjobs/syncBreaches.ts +++ b/src/scripts/cronjobs/syncBreaches.ts @@ -18,7 +18,7 @@ import { upsertBreaches, updateBreachFaviconUrl, } from "../../db/tables/breaches"; -import { uploadToS3 } from "../s3.js"; +import { uploadToS3 } from "../../utils/s3.js"; const SENTRY_SLUG = "cron-sync-breaches"; diff --git a/src/scripts/s3.js b/src/utils/s3.js similarity index 100% rename from src/scripts/s3.js rename to src/utils/s3.js