Skip to content

Commit c0045d9

Browse files
committed
fix: add secondary path for deleting blob
1 parent de001b2 commit c0045d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emulator/storage/apis/gcloud.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function createCloudEndpoints(emulator: StorageEmulator): Router {
109109
});
110110
});
111111

112-
gcloudStorageAPI.delete("/b/:bucketId/o/:objectId", async (req, res) => {
112+
gcloudStorageAPI.delete(["/b/:bucketId/o/:objectId", "/storage/v1/b/:bucketId/o/:objectId"], async (req, res) => {
113113
try {
114114
await adminStorageLayer.deleteObject({
115115
bucketId: req.params.bucketId,

0 commit comments

Comments
 (0)