Skip to content

Commit feac640

Browse files
committed
Update app.js
1 parent dc6aa00 commit feac640

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Parse-Dashboard/app.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ function checkIfIconsExistForApps(apps, iconsFolder) {
5050
if ('ENOENT' == err.code) {// file does not exist
5151
console.warn('Icon with file name: ' + iconName + ' couldn\'t be found in icons folder!');
5252
} else {
53-
console.log(
54-
'An error occurd while checking for icons, please check permission!');
53+
console.warn('An error occurred while checking for icons, please check permission!');
5554
}
5655
} else {
5756
//every thing was ok so for example you can read it and send it to client
@@ -1021,14 +1020,14 @@ You have direct access to the Parse database through function calls, so you can
10211020
if (!followUpContent) {
10221021
console.warn('OpenAI returned null content in follow-up response, using fallback message');
10231022
}
1024-
return followUpContent || 'Operation completed successfully.';
1023+
return followUpContent || 'Done.';
10251024
}
10261025

10271026
const content = responseMessage.content;
10281027
if (!content) {
10291028
console.warn('OpenAI returned null content in initial response, using fallback message');
10301029
}
1031-
return content || 'Operation completed successfully.';
1030+
return content || 'Done.';
10321031
}
10331032

10341033
// Serve the app icons. Uses the optional `iconsFolder` parameter as

0 commit comments

Comments
 (0)