Commit d582aa30 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Christos Stavrakakis
Browse files

cyclades ui: Update metadata post/delete url

the updated api uses /metadata/ instead of /meta/

Refs: #3768
parent 98b4b472
......@@ -1166,12 +1166,12 @@
},
remove_meta: function(key, complete, error) {
var url = this.api_path() + "/meta/" + key;
var url = this.api_path() + "/metadata/" + key;
this.api_call(url, "delete", undefined, complete, error);
},
save_meta: function(meta, complete, error) {
var url = this.api_path() + "/meta/" + meta.key;
var url = this.api_path() + "/metadata/" + meta.key;
var payload = {meta:{}};
payload.meta[meta.key] = meta.value;
payload._options = {
......
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