Rename backup/upload websocket type to backup/agents/upload
This commit is contained in:
parent
f99b319048
commit
d2c934923e
2 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ async def handle_backup_end(
|
|||
@websocket_api.ws_require_user(only_supervisor=True)
|
||||
@websocket_api.websocket_command(
|
||||
{
|
||||
vol.Required("type"): "backup/upload",
|
||||
vol.Required("type"): "backup/agents/upload",
|
||||
vol.Required("data"): {
|
||||
vol.Required("slug"): str,
|
||||
},
|
||||
|
|
|
@ -276,7 +276,7 @@ async def test_backup_upload(
|
|||
):
|
||||
await client.send_json_auto_id(
|
||||
{
|
||||
"type": "backup/upload",
|
||||
"type": "backup/agents/upload",
|
||||
"data": {
|
||||
"slug": "abc123",
|
||||
},
|
||||
|
@ -341,7 +341,7 @@ async def test_backup_upload_exception(
|
|||
):
|
||||
await client.send_json_auto_id(
|
||||
{
|
||||
"type": "backup/upload",
|
||||
"type": "backup/agents/upload",
|
||||
"data": {
|
||||
"slug": "abc123",
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue