Commit c93b8dc7 authored by okhin's avatar okhin
Browse files

The POST don't need the /add

parent a257961b
Pipeline #834 passed with stage
in 1 second
...@@ -78,7 +78,7 @@ class Api { ...@@ -78,7 +78,7 @@ class Api {
"comment"=>$comment, "comment"=>$comment,
"feedback_category"=>$feedback_category "feedback_category"=>$feedback_category
); );
$json = Api::post("campaigns/" . CAMPAIGN_ID . "/feedbacks/add", $data); $json = Api::post("campaigns/" . CAMPAIGN_ID . "/feedbacks", $data);
return json_decode($json, true); return json_decode($json, true);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment