little fix

This commit is contained in:
Swrup 2022-02-22 00:01:35 +01:00
parent 5a70e0e759
commit c91623050e
5 changed files with 36 additions and 40 deletions

View file

@ -21,7 +21,7 @@ let () =
Caqti_request.exec Caqti_type.unit "PRAGMA foreign_keys = ON;"
in
if Result.is_error (Db.exec set_foreign_keys_on ()) then
Dream.error (fun log -> log "can't et foreign_keys on")
Dream.error (fun log -> log "can't set foreign_keys on")
(* TODO do image validation: length and MIME types with conan*)
(* TODO do the same for text input: check length, forbidden chars and have a forbidden words filter*)