Skip to content

Commit

Permalink
Fix add script
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Jan 31, 2025
1 parent 997c9d1 commit 3d1bc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/web-scripts/web-scripts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local REST_SCRIPTS = {
end
return list
end,
['(engine, name, script)?method=PUT&:LHA-Name+=name&:LHA-Script+=script'] = function(_, engine, name, script)
['(engine, name, script)?method=PUT&:LHA-Name-=name&:LHA-Script-=script'] = function(_, engine, name, script)
local extId = engine:generateId()
local extDir = File:new(engine:getScriptsDirectory(), extId)
extDir:mkdir()
Expand Down

0 comments on commit 3d1bc0c

Please sign in to comment.