Skip to content

Commit

Permalink
Merge pull request #207 from Screenly/feature/update_global_setting_f…
Browse files Browse the repository at this point in the history
…ilter

Adds: installation_id=is.null filter as required in API for global se…
  • Loading branch information
korvyashka authored Aug 16, 2024
2 parents e4ac8dc + d27b5ae commit a02cc12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/edge_app/setting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl EdgeAppCommand {
}
);
settings_values_patch_url = format!(
"v4.1/edge-apps/settings/values?app_id=eq.{}&name=eq.{}",
"v4.1/edge-apps/settings/values?app_id=eq.{}&name=eq.{}&installation_id=is.null",
app_id, setting_key,
);
} else {
Expand Down Expand Up @@ -769,6 +769,7 @@ mod tests {
)
.query_param("name", "eq.best_setting")
.query_param("app_id", "eq.01H2QZ6Z8WXWNDC0KQ198XCZEW")
.query_param("installation_id", "is.null")
.json_body(json!(
{
"value": "best_value1",
Expand Down

0 comments on commit a02cc12

Please sign in to comment.