Saving the bot code and retrieving it without the cache

This commit is contained in:
Luis Fernando Molina committed 2018-06-15 17:15:43 +02:00
1 parent 067f4f46f6
commit cbc9db1f8d
7 files changed
+44 -31

No files matched your search

+4 -4
View File
@@ -470,9 +470,9 @@ function onBrowserRequest(request, response) {
}
botCode.saveBotCode(devTeam, source, repo, path, pData, onResponse);
function onResponse(err, pResponse) {
function onResponse(err) {
respondWithContent(JSON.stringify(pResponse), response);
respondWithContent(JSON.stringify(err), response);
}
}
@@ -782,7 +782,7 @@ function onBrowserRequest(request, response) {
case "Plotters": // This means the plotter folder, not to be confused with the Plotters script!
{
storage.getStorageData(requestParameters[2] + "/" + "plotters", requestParameters[3], requestParameters[4], onDataArrived);
storage.getStorageData(requestParameters[2] + "/" + "plotters", requestParameters[3], requestParameters[4], true, onDataArrived);
function onDataArrived(pData) {
@@ -794,7 +794,7 @@ function onBrowserRequest(request, response) {
case "PlotterPanels": // This means the PlotterPanels folder, not to be confused with the Plotter Panels scripts!
{
storage.getStorageData(requestParameters[2] + "/" + "plotters", requestParameters[3], requestParameters[4], onDataArrived);
storage.getStorageData(requestParameters[2] + "/" + "plotters", requestParameters[3], requestParameters[4], true, onDataArrived);
function onDataArrived(pData) {