Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Jan 9, 2025
1 parent 37b9e19 commit 55cbe6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MaaFramework/Task/TaskBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ NodeDetail TaskBase::run_action(const RecoResult& reco)

NodeDetail result {
.node_id = generate_node_id(),
.node = reco.name,
.name = reco.name,
.reco_id = reco.reco_id,
.completed = ret,
};
Expand All @@ -186,7 +186,7 @@ NodeDetail TaskBase::run_action(const RecoResult& reco)
const json::value cb_detail {
{ "task_id", task_id() },
{ "node_id", result.node_id },
{ "name", reco.name },
{ "node", reco.name },
};
notify(result.completed ? MaaMsg_Node_Action_Succeeded : MaaMsg_Node_Action_Failed, cb_detail);
}
Expand Down

0 comments on commit 55cbe6e

Please sign in to comment.