stuff
This commit is contained in:
parent
157f9ad718
commit
6693101f58
@ -14,12 +14,12 @@ var calls = {
|
|||||||
return res.json({ title: 'Express' });
|
return res.json({ title: 'Express' });
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
update: function(name, sshURL){
|
update: function(req, res, name, sshURL){
|
||||||
return exec('bash update.sh '+name+' '+sshURL, function(err, stdout, stderr){
|
return exec('bash update.sh '+name+' '+sshURL, function(err, stdout, stderr){
|
||||||
return res.json({ title: 'Express' });
|
return res.json({ title: 'Express' });
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
delete: function(name){
|
delete: function(req, res, name, sshURL){
|
||||||
return exec('bash delete.sh '+name+' '+sshURL, function(err, stdout, stderr){
|
return exec('bash delete.sh '+name+' '+sshURL, function(err, stdout, stderr){
|
||||||
return res.json({ title: 'Express' });
|
return res.json({ title: 'Express' });
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user