Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Oct 31, 2023
1 parent 8ca484f commit 3af8e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pds/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ export class AppContext {
const db: ServiceDb = Database.sqlite(cfg.db.serviceDbLoc)
const blobstore =
cfg.blobstore.provider === 's3'
? new S3BlobStore({
? S3BlobStore.creator({
bucket: cfg.blobstore.bucket,
region: cfg.blobstore.region,
endpoint: cfg.blobstore.endpoint,
forcePathStyle: cfg.blobstore.forcePathStyle,
credentials: cfg.blobstore.credentials,
})
: await DiskBlobStore.create(
: DiskBlobStore.creator(
cfg.blobstore.location,
cfg.blobstore.tempLocation,
)
Expand Down

0 comments on commit 3af8e15

Please sign in to comment.