Skip to content

Commit afe6c57

Browse files
[FIX] Canned response logic decision
1 parent 8f61bf9 commit afe6c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/statistics/getSettingsStatistics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const setSettingsStatistics = async (settings: ISettingStatistics): Promise<ISet
3535
} = settings;
3636

3737
// If Canned Response does not exist add blank object to the statistic else add canned response object
38-
const cannedRes = !cannedResponsesEnabled ? {} : { cannedResponses: cannedResponsesEnabled };
38+
const cannedRes = !cannedResponsesEnabled ? {} : { cannedResponses: { cannedResponsesEnabled } };
3939

4040
const statisticObject = {
4141
accounts: {

0 commit comments

Comments
 (0)