Skip to content

Commit

Permalink
Move s3 util functions into utils folder
Browse files Browse the repository at this point in the history
It's not actually used as a standalone script, so doesn't belong
in the scripts directory.
  • Loading branch information
Vinnl committed Aug 19, 2024
1 parent 9b673a9 commit 9deaa58
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/build/uploadAutoCompleteLocations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/cronjobs/syncBreaches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
File renamed without changes.

0 comments on commit 9deaa58

Please sign in to comment.