refactor(server): use new storage providers (#5433)

This commit is contained in:
liuyi committed 2024-01-03 10:56:55 +00:00
1 parent a709624ebf
commit 0d34805375
42 files changed
+614 -679

No files matched your search

+5 -1
View File
@@ -106,7 +106,11 @@ export async function setBlob(
})
)
.field('map', JSON.stringify({ '0': ['variables.blob'] }))
.attach('0', buffer, 'blob.data')
.attach(
'0',
buffer,
`blob-${Math.random().toString(16).substring(2, 10)}.data`
)
.expect(200);
return res.body.data.setBlob;
}