summaryrefslogtreecommitdiff
path: root/lib/lockfile.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lockfile.ml')
-rw-r--r--lib/lockfile.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lockfile.ml b/lib/lockfile.ml
index e7a2621..7b9909a 100644
--- a/lib/lockfile.ml
+++ b/lib/lockfile.ml
@@ -299,7 +299,7 @@ module Pijul = struct
)
|> Object.mem "rm" Util.URI.jsont ~enc: (fun i -> i.remote)
|> Object.mem "ms" (list Util.URI.jsont) ~enc: (fun i -> i.mirrors)
- |> Object.mem "dt" (option string) ~enc: (fun i -> i.datetime)
+ |> Object.opt_mem "dt" string ~enc: (fun i -> i.datetime)
(* |> Object.mem "rf" Reference.jsont ~enc: (fun i -> i.reference) *)
|> Object.mem "ls" (option string) ~enc: (fun i -> i.latest_state)
|> Object.finish