From faeede0f3966b9297ffae5ba8222eb77d3a135dd Mon Sep 17 00:00:00 2001 From: Matthieu Lux Date: Thu, 16 Jan 2020 17:08:19 +0100 Subject: [PATCH] Change the contact groups cache key to prevent collision with labels --- lib/models/contactGroupsModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/contactGroupsModel.js b/lib/models/contactGroupsModel.js index 510abe6f..a10f3f95 100644 --- a/lib/models/contactGroupsModel.js +++ b/lib/models/contactGroupsModel.js @@ -6,7 +6,7 @@ export const getContactGroupsModel = (api) => { }; export const ContactGroupsModel = { - key: 'Labels', + key: 'ContactGroups', get: getContactGroupsModel, update: (model, events) => updateCollection({ model, events, item: ({ Label }) => Label }) };