Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 52dde04

Browse files
committedNov 11, 2023
fix: successful delete returns 204
1 parent a4bd4ed commit 52dde04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class Store {
7676
async delete(key: string) {
7777
const res = await this.client.makeRequest({ key, method: HTTPMethod.DELETE, storeName: this.name })
7878

79-
if (![200, 202, 404].includes(res.status)) {
79+
if (![200, 204, 404].includes(res.status)) {
8080
throw new BlobsInternalError(res.status)
8181
}
8282
}

0 commit comments

Comments
 (0)
Please sign in to comment.