mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Outline share detail page
This commit is contained in:
@ -14,6 +14,7 @@ module Util.Http exposing
|
||||
, authTask
|
||||
, executeIn
|
||||
, jsonResolver
|
||||
, shareGet
|
||||
, sharePost
|
||||
)
|
||||
|
||||
@ -167,6 +168,24 @@ authGet req =
|
||||
}
|
||||
|
||||
|
||||
shareGet :
|
||||
{ url : String
|
||||
, token : String
|
||||
, expect : Http.Expect msg
|
||||
}
|
||||
-> Cmd msg
|
||||
shareGet req =
|
||||
shareReq
|
||||
{ url = req.url
|
||||
, token = req.token
|
||||
, body = Http.emptyBody
|
||||
, expect = req.expect
|
||||
, method = "GET"
|
||||
, headers = []
|
||||
, tracker = Nothing
|
||||
}
|
||||
|
||||
|
||||
authDelete :
|
||||
{ url : String
|
||||
, account : AuthResult
|
||||
|
Reference in New Issue
Block a user