mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +00:00
Remove unused code
This commit is contained in:
parent
25788a0b23
commit
414ffba453
@ -51,7 +51,6 @@ module Api exposing
|
|||||||
, getJobQueueState
|
, getJobQueueState
|
||||||
, getJobQueueStateIn
|
, getJobQueueStateIn
|
||||||
, getMailSettings
|
, getMailSettings
|
||||||
, getNewUi
|
|
||||||
, getNotifyDueItems
|
, getNotifyDueItems
|
||||||
, getOrgFull
|
, getOrgFull
|
||||||
, getOrgLight
|
, getOrgLight
|
||||||
@ -124,7 +123,6 @@ module Api exposing
|
|||||||
, startOnceScanMailbox
|
, startOnceScanMailbox
|
||||||
, startReIndex
|
, startReIndex
|
||||||
, submitNotifyDueItems
|
, submitNotifyDueItems
|
||||||
, toggleNewUi
|
|
||||||
, toggleTags
|
, toggleTags
|
||||||
, unconfirmMultiple
|
, unconfirmMultiple
|
||||||
, updateNotifyDueItems
|
, updateNotifyDueItems
|
||||||
@ -1982,25 +1980,6 @@ getItemProposals flags item receive =
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
toggleNewUi : Flags -> (Result Http.Error BasicResult -> msg) -> Cmd msg
|
|
||||||
toggleNewUi flags receive =
|
|
||||||
Http2.authPost
|
|
||||||
{ url = flags.config.baseUrl ++ "/api/v1/sec/newui"
|
|
||||||
, account = getAccount flags
|
|
||||||
, body = Http.emptyBody
|
|
||||||
, expect = Http.expectJson receive Api.Model.BasicResult.decoder
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
getNewUi : Flags -> (Result Http.Error BasicResult -> msg) -> Cmd msg
|
|
||||||
getNewUi flags receive =
|
|
||||||
Http2.authGet
|
|
||||||
{ url = flags.config.baseUrl ++ "/api/v1/sec/newui"
|
|
||||||
, account = getAccount flags
|
|
||||||
, expect = Http.expectJson receive Api.Model.BasicResult.decoder
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--- Helper
|
--- Helper
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user