removed api: from client side socket calls

This commit is contained in:
Baris Soner Usakli
2014-01-16 15:10:37 -05:00
parent 4184574164
commit 67799eac95
26 changed files with 125 additions and 125 deletions

View File

@@ -70,7 +70,7 @@ define(['uploader'], function(uploader) {
value = fields[x].value;
}
socket.emit('api:admin.config.set', {
socket.emit('admin.config.set', {
key: key,
value: value
}, function(data) {
@@ -119,7 +119,7 @@ define(['uploader'], function(uploader) {
};
Settings.remove = function(key) {
socket.emit('api:admin.config.remove', key);
socket.emit('admin.config.remove', key);
};
return Settings;