This commit is contained in:
parent
5ed9209320
commit
75a0aef0a6
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ module H32 = struct
|
|||
map (bytes 32) of_octets to_octets
|
||||
|
||||
(* hashes are not b32 encoded in the database *)
|
||||
let caqti : t Caqti_type.t =
|
||||
let caqti =
|
||||
let open Caqti_type in
|
||||
custom
|
||||
~encode:(fun v -> Ok (to_octets v))
|
||||
|
|
@ -73,7 +73,7 @@ module H64 = struct
|
|||
map (bytes 64) of_octets to_octets
|
||||
|
||||
(* hashes are not b32 encoded in the database *)
|
||||
let caqti : t Caqti_type.t =
|
||||
let caqti =
|
||||
let open Caqti_type in
|
||||
custom
|
||||
~encode:(fun v -> Ok (to_octets v))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue