diff options
| author | Adelyn Breelove <[email protected]> | 2019-02-04 13:21:52 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-02-04 13:21:52 -0700 |
| commit | 62b7689d0af62daee569e7d8ab3c641af756e6ef (patch) | |
| tree | fb0777298a29ffb1f92c79350681f1fe55248ae5 /lib/models/snowflake.ml | |
| parent | Opt to never force close unix fd before writer is flushed (diff) | |
| download | disml-62b7689d0af62daee569e7d8ab3c641af756e6ef.tar.xz disml-62b7689d0af62daee569e7d8ab3c641af756e6ef.zip | |
Update yojson to 1.6.0
Diffstat (limited to 'lib/models/snowflake.ml')
| -rw-r--r-- | lib/models/snowflake.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/snowflake.ml b/lib/models/snowflake.ml index 92c692c..2bf2281 100644 --- a/lib/models/snowflake.ml +++ b/lib/models/snowflake.ml @@ -8,7 +8,7 @@ let of_yojson d = try Ok (of_yojson_exn d)
with Yojson.Safe.Util.Type_error (why,_) -> Error why
-let to_yojson s : Yojson.Safe.json = `String (Int.to_string s)
+let to_yojson s : Yojson.Safe.t = `String (Int.to_string s)
let timestamp snowflake = (snowflake lsr 22) + 1_420_070_400_000
|