core: lints (#1144)

This commit is contained in:
Evgeny Poberezkin
2022-09-29 16:26:43 +01:00
committed by GitHub
parent 0e411b0eac
commit 628f119151
10 changed files with 18 additions and 8 deletions

View File

@@ -269,7 +269,7 @@ processChatCommand = \case
pure CRCmdOk
APIExportArchive cfg -> checkChatStopped $ exportArchive cfg $> CRCmdOk
APIImportArchive cfg -> withStoreChanged $ importArchive cfg
APIDeleteStorage -> withStoreChanged $ deleteStorage
APIDeleteStorage -> withStoreChanged deleteStorage
APIStorageEncryption cfg -> withStoreChanged $ sqlCipherExport cfg
ExecChatStoreSQL query -> CRSQLResult <$> withStore' (`exexSQL` query)
ExecAgentStoreSQL query -> CRSQLResult <$> withAgent (`execAgentStoreSQL` query)