We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f172d5 commit 6c1c349Copy full SHA for 6c1c349
src/lib/managementClient.ts
@@ -127,18 +127,18 @@ export class SHLClient {
127
const req = await fetch(`${API_BASE}/shl/${shl.id}/file`, {
128
method: 'DELETE',
129
headers: {
130
- authorization: `Bearer ${shl.managementToken}`
+ authorization: `Bearer ${shl.managementToken}`,
131
},
132
body: contentEncrypted
133
});
134
const res = await req.json();
135
return shl;
136
}
137
async deleteAllFiles(shl: SHLAdminParams) {
138
- const req = await fetch(`${API_BASE}/shl/${shl.id}/file`, {
+ const req = await fetch(`${API_BASE}/shl/${shl.id}/file/all`, {
139
140
141
142
143
144
0 commit comments