mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-19 10:37:01 +00:00
ui: Initial impl of seen message marking
This commit is contained in:
@@ -16,6 +16,19 @@ delete url =
|
||||
}
|
||||
|
||||
|
||||
patch : String -> Http.Body -> Http.Request ()
|
||||
patch url body =
|
||||
Http.request
|
||||
{ method = "PATCH"
|
||||
, headers = []
|
||||
, url = url
|
||||
, body = body
|
||||
, expect = Http.expectStringResponse (\_ -> Ok ())
|
||||
, timeout = Nothing
|
||||
, withCredentials = False
|
||||
}
|
||||
|
||||
|
||||
errorString : Http.Error -> String
|
||||
errorString error =
|
||||
case error of
|
||||
|
||||
Reference in New Issue
Block a user