aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/views/Services.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/views/Services.js')
-rw-r--r--frontend/src/views/Services.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/views/Services.js b/frontend/src/views/Services.js
index 22d61b3..97368dc 100644
--- a/frontend/src/views/Services.js
+++ b/frontend/src/views/Services.js
@@ -102,7 +102,7 @@ class Services extends Component {
output += "assert(len(name) >= 3)\n";
}
if (output === "") {
- output = createCurlCommand("/services", {
+ output = createCurlCommand("/services", "PUT", {
"port": this.state.port,
"name": this.state.name,
"color": this.state.color,