fix: task api and other small issues

This commit is contained in:
DecDuck
2025-04-20 23:34:22 +10:00
parent feedcfc5c4
commit 31ad8505b7
4 changed files with 19 additions and 9 deletions

View File

@ -25,7 +25,6 @@ export class FsObjectBackend extends ObjectBackend {
}
async fetch(id: ObjectReference) {
console.log("ID: " + id);
const objectPath = path.join(this.baseObjectPath, id);
if (!fs.existsSync(objectPath)) return undefined;
return fs.createReadStream(objectPath);