Adjust for updated @types/lodash

This commit is contained in:
Jonas Lochmann
2019-08-27 14:54:25 +02:00
parent 9ce95b7de7
commit a7533b7864
3 changed files with 15 additions and 3 deletions
@@ -44,7 +44,11 @@ export const dispatchChildChangePassword = async ({ action, childUserId, cache }
await childEntry.save({ transaction: cache.transaction })
cache.getSecondPasswordHashOfChild.cache.clear()
{
const clear = cache.getSecondPasswordHashOfChild.cache.clear
clear && clear()
}
cache.invalidiateUserList = true
cache.areChangesImportant = true
}
@@ -46,7 +46,11 @@ export async function dispatchChangeParentPassword ({ action, cache }: {
await parentEntry.save({ transaction: cache.transaction })
cache.getSecondPasswordHashOfParent.cache.clear()
{
const clear = cache.getSecondPasswordHashOfParent.cache.clear
clear && clear()
}
cache.invalidiateUserList = true
cache.areChangesImportant = true
}
@@ -43,7 +43,11 @@ export async function dispatchSetChildPassword ({ action, cache }: {
await childEntry.save({ transaction: cache.transaction })
cache.getSecondPasswordHashOfChild.cache.clear()
{
const clear = cache.getSecondPasswordHashOfChild.cache.clear
clear && clear()
}
cache.invalidiateUserList = true
cache.areChangesImportant = true
}