mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 10:59:59 +00:00
jira SDK-5325: Server returns 404 when client requests to hide Netflix when it is already in hidden state
This commit is contained in:
@@ -304,7 +304,7 @@ static void handle_app_hide(struct mg_connection *conn,
|
||||
&canStop, app->callback_data);
|
||||
}
|
||||
|
||||
if (!app || app->state != kDIALStatusRunning) {
|
||||
if (!app || (app->state != kDIALStatusRunning && app->state != kDIALStatusHide)) {
|
||||
mg_send_http_error(conn, 404, "Not Found", "Not Found");
|
||||
} else {
|
||||
// not implemented in reference
|
||||
|
||||
Reference in New Issue
Block a user