Skip to content

Commit

Permalink
fix arguments and urls of create bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 committed Jul 16, 2024
1 parent 7e0a12c commit 75deeb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@ class Bucket extends ServiceObject<Bucket, BucketMetadata> {

this.storageTransport.makeRequest(
{
url: `${this.baseUrl}/o`,
url: `${this.baseUrl}/${this.id}/o`,
queryParameters: query as unknown as StorageQueryParameters,
},
(err, data, resp) => {
Expand Down
2 changes: 1 addition & 1 deletion src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ export class Storage {
{
method: 'POST',
queryParameters: query,
body,
body: JSON.stringify(body),
url: '/b',
responseType: 'json',
headers: {
Expand Down

0 comments on commit 75deeb9

Please sign in to comment.