Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
c93b8dc7
Commit
c93b8dc7
authored
Feb 06, 2017
by
okhin
Browse files
The POST don't need the /add
parent
a257961b
Pipeline
#834
passed with stage
in 1 second
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/Api.php
View file @
c93b8dc7
...
...
@@ -78,7 +78,7 @@ class Api {
"comment"
=>
$comment
,
"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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment