finish file upload API and implement for config

This commit is contained in:
Matt Hill
2023-03-21 16:04:16 -06:00
committed by Aiden McClelland
parent dacd5d3e6b
commit aa950669f6
8 changed files with 125 additions and 70 deletions

View File

@@ -86,9 +86,13 @@ export class MockApiService extends ApiService {
return markdown
}
async uploadPackage(guid: string, body: Blob): Promise<string> {
async uploadPackage(guid: string, body: Blob): Promise<void> {
await pauseFor(2000)
return 'success'
}
async uploadFile(body: Blob): Promise<string> {
await pauseFor(2000)
return 'returnedhash'
}
// db