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
8a89a8e3
Commit
8a89a8e3
authored
Jan 25, 2017
by
okhin
Browse files
Updating the feedback API
parent
8627626a
Pipeline
#814
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Api.php
View file @
8a89a8e3
...
@@ -72,7 +72,7 @@ class Api {
...
@@ -72,7 +72,7 @@ class Api {
"comment"
=>
$comment
,
"comment"
=>
$comment
,
"feedback_category"
=>
$feedback_category
"feedback_category"
=>
$feedback_category
);
);
$json
=
Api
::
post
(
"campaigns/"
.
CAMPAIGN_ID
.
"/feedback/add"
,
$data
);
$json
=
Api
::
post
(
"campaigns/"
.
CAMPAIGN_ID
.
"/feedback
s
/add"
,
$data
);
return
json_decode
(
$json
,
true
);
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