Skip to content

Commit

Permalink
feat: changing client config update to allow settings to be optional.…
Browse files Browse the repository at this point in the history
… current behavious requires it to be specifcied with blank array
salty2011 committed Jan 30, 2025
1 parent 4d1655f commit 581f410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moonlight-server/api/api.hpp
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ struct PartialClientSettings {
struct UpdateClientSettingsRequest {
rfl::Description<"The client ID to identify the client (derived from certificate)", std::string> client_id;
rfl::Description<"New app state folder path (optional)", std::optional<std::string>> app_state_folder;
rfl::Description<"Client settings to update (only specified fields will be updated)", PartialClientSettings>
rfl::Description<"Client settings to update (only specified fields will be updated)", std::optional<PartialClientSettings>>
settings;
};

0 comments on commit 581f410

Please sign in to comment.