this repo has no description

manual fixes

Changed files
+5 -6
bin
lib
+1 -2
bin/flag_color_test.ml
···
(** Demo of message flags and mailbox attributes functionality *)
-
open Jmap
open Jmap_mail.Types
(** Demonstrate flag color functionality *)
···
let () =
demo_flag_colors ();
demo_message_keywords ();
-
demo_mailbox_attributes ()
···
(** Demo of message flags and mailbox attributes functionality *)
open Jmap_mail.Types
(** Demonstrate flag color functionality *)
···
let () =
demo_flag_colors ();
demo_message_keywords ();
+
demo_mailbox_attributes ()
+4 -4
lib/jmap_mail.ml
···
inv.name = "Email/set") response.method_responses in
let args = method_response.arguments in
match Ezjsonm.find_opt args ["updated"] with
-
| Some (`A ids) -> Ok ()
| _ ->
match Ezjsonm.find_opt args ["notUpdated"] with
-
| Some (`O errors) ->
Error (Parse_error ("Failed to update email: " ^ email_id))
| _ -> Error (Parse_error "Unexpected response format")
with
···
inv.name = "Email/set") response.method_responses in
let args = method_response.arguments in
match Ezjsonm.find_opt args ["updated"] with
-
| Some (`A ids) -> Ok ()
| _ ->
match Ezjsonm.find_opt args ["notUpdated"] with
-
| Some (`O errors) ->
Error (Parse_error ("Failed to update email: " ^ email_id))
| _ -> Error (Parse_error "Unexpected response format")
with
···
inv.name = "Email/set") response.method_responses in
let args = method_response.arguments in
match Ezjsonm.find_opt args ["updated"] with
+
| Some (`A _ids) -> Ok ()
| _ ->
match Ezjsonm.find_opt args ["notUpdated"] with
+
| Some (`O _errors) ->
Error (Parse_error ("Failed to update email: " ^ email_id))
| _ -> Error (Parse_error "Unexpected response format")
with
···
inv.name = "Email/set") response.method_responses in
let args = method_response.arguments in
match Ezjsonm.find_opt args ["updated"] with
+
| Some (`A _ids) -> Ok ()
| _ ->
match Ezjsonm.find_opt args ["notUpdated"] with
+
| Some (`O _errors) ->
Error (Parse_error ("Failed to update email: " ^ email_id))
| _ -> Error (Parse_error "Unexpected response format")
with