Fix filenames deleted file api calls

This commit is contained in:
Zoë Hoekstra 2022-09-29 20:49:17 +02:00
parent c8873968e5
commit 207e4d521e
No known key found for this signature in database
GPG key ID: F9B7B7D8130F3323
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "bitburner-filesync", "name": "bitburner-filesync",
"version": "1.1.0", "version": "1.1.5",
"description": "Official implementation of the Bitburner Filesync server", "description": "Official implementation of the Bitburner Filesync server",
"type": "module", "type": "module",
"bin": "./npx/bitburner-filesync.js", "bin": "./npx/bitburner-filesync.js",

View file

@ -23,7 +23,7 @@ export function fileRemovalEventToMsg({ path }) {
"method": "deleteFile", "method": "deleteFile",
"params": { "params": {
"server": "home", "server": "home",
"filename": path, "filename": addLeadingSlash(path),
}, },
"id": messageCounter++ "id": messageCounter++
} }