fix(upload-client/group): use body to send query parameters #545
Annotations
3 errors and 1 warning
API - group info › should return info about uploaded group of files:
packages/upload-client/src/api/groupInfo.ts#L61
UploadError: pub_key is required.
at src/api/groupInfo.ts:61:17
at Object.<anonymous> (test/api/groupInfo.test.ts:15:18)
|
API - group info › should fail with [HTTP 404] group_id is invalid.:
src/api/groupInfo.ts#L61
expect(received).rejects.toThrowError(expected)
Expected substring: "group_id is invalid."
Received message: "pub_key is required."
59 |
60 | if ('error' in response) {
> 61 | throw new UploadError(
| ^
62 | response.error.content,
63 | response.error.errorCode,
64 | request,
at src/api/groupInfo.ts:61:17
at Object.<anonymous> (test/api/groupInfo.test.ts:25:5)
at Object.toThrowError (../../node_modules/expect/build/index.js:210:22)
at Object.<anonymous> (test/api/groupInfo.test.ts:25:34)
|
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|