mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-10-10 18:26:37 -04:00
sync save deletion
This commit is contained in:
@@ -173,6 +173,11 @@ function SyncClient:getSave(version, id)
|
||||
{ params = { version = version, id = id } })
|
||||
end
|
||||
|
||||
function SyncClient:deleteSave(version, id, rev)
|
||||
return self:send("DELETE", "/sync/save", nil,
|
||||
{ params = { version = version, id = id, rev = rev } })
|
||||
end
|
||||
|
||||
function SyncClient:putMods(manifest)
|
||||
return self:send("PUT", "/sync/mods", { manifest = manifest })
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user