fixing some minor error
This commit is contained in:
parent
c208f83820
commit
8df0ec9eee
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ let storeFileCallback = (err, filePath, chatId, photoId) => {
|
|||
if (admin_chatId !== chatId) notifyAdmin(response, photoId);
|
||||
} else {
|
||||
response = config.messages.sendieResponse.fileSuccessfullySaved;
|
||||
response = message.replace('{fileLocation}', filePath);
|
||||
response = response.replace('{fileLocation}', filePath);
|
||||
telegram.sendMessage(chatId, response);
|
||||
response = config.messages.adminNotifications.fileSuccessfullySaved;
|
||||
response = message.replace('{fileLocation}', filePath);
|
||||
response = response.replace('{fileLocation}', filePath);
|
||||
if (admin_chatId !== chatId) notifyAdmin(response, photoId);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue