Skip to content

Commit

Permalink
fix: can not perform post request (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui authored Feb 16, 2024
1 parent 8fe3e70 commit e114a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/aivs-monitor/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ int main() {
}
headers = curl_slist_append(headers, "Content-Type: application/json");

curl_easy_cleanup(curl);

monitor_t monitor = {
.mute_cb = mute_cb,
.act_tts = act_tts,
Expand All @@ -227,5 +225,7 @@ int main() {
monitor_init(monitor);
monitor_start(instruction_json_path);

curl_easy_cleanup(curl);

return 0;
}

0 comments on commit e114a46

Please sign in to comment.