little fix
This commit is contained in:
parent
5a70e0e759
commit
c91623050e
5 changed files with 36 additions and 40 deletions
|
|
@ -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*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue