Fix filenames deleted file api calls
This commit is contained in:
parent
c8873968e5
commit
207e4d521e
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bitburner-filesync",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.5",
|
||||
"description": "Official implementation of the Bitburner Filesync server",
|
||||
"type": "module",
|
||||
"bin": "./npx/bitburner-filesync.js",
|
||||
|
|
|
@ -23,7 +23,7 @@ export function fileRemovalEventToMsg({ path }) {
|
|||
"method": "deleteFile",
|
||||
"params": {
|
||||
"server": "home",
|
||||
"filename": path,
|
||||
"filename": addLeadingSlash(path),
|
||||
},
|
||||
"id": messageCounter++
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue