Skip to content

Commit

Permalink
Fixes the new project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
crsib committed Feb 21, 2024
1 parent 9230395 commit 5ef653c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/lib-cloud-audiocom/sync/CloudSyncUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ std::string Serialize(const ProjectForm& form)

document.AddMember("blocks", hashesArray, document.GetAllocator());

document.AddMember("force", form.Force, document.GetAllocator());
if (form.Force)
document.AddMember("force", form.Force, document.GetAllocator());

StringBuffer buffer;
Writer<StringBuffer> writer(buffer);
Expand Down

0 comments on commit 5ef653c

Please sign in to comment.