fix(core): update

This commit is contained in:
2021-06-02 11:34:52 +02:00
parent 9255875d83
commit caedf37288
4 changed files with 8782 additions and 7731 deletions

View File

@ -181,7 +181,7 @@ export class Directory {
}
// file operations
public async fastStore(pathArg: string, contentArg: string) {
public async fastStore(pathArg: string, contentArg: string | Buffer) {
const path = plugins.path.join(this.getBasePath(), pathArg);
await this.bucketRef.fastStore(path, contentArg);
}