8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c29cd84 commit 3222b70Copy full SHA for 3222b70
src/server.test.ts
@@ -402,14 +402,10 @@ test('Returns a signed URL or the blob directly based on the request parameters'
402
// default.
403
const res2 = await fetch(`http://localhost:${port}/api/v1/blobs/${siteID}/site:my-store/key-1`, {
404
headers: {
405
- accept: 'application/json;type=signed-url',
406
authorization: `Bearer ${token}`,
407
},
408
})
409
- const { url: url2 } = await res2.json()
410
- const data2 = await fetch(url2)
411
-
412
- expect(await data2.text()).toBe(value)
+ expect(await res2.text()).toBe(value)
413
414
// When reading through a new API endpoint and requesting a signed URL, we
415
// should get one.
0 commit comments