fix matching form on category
This commit is contained in:
parent
b5fc7e9a8d
commit
674e63aa77
2 changed files with 11 additions and 2 deletions
|
|
@ -350,7 +350,16 @@ let babillard_post request =
|
|||
; ("subject", [ (_, subject) ])
|
||||
; ("tags", [ (_, tags) ])
|
||||
; ("thread-comment", [ (_, comment) ])
|
||||
] -> (
|
||||
]
|
||||
| `Ok
|
||||
(("alt", [ (_, alt) ])
|
||||
:: ("file", file)
|
||||
:: ("lat-input", [ (_, lat) ])
|
||||
:: ("lng-input", [ (_, lng) ])
|
||||
:: ("subject", [ (_, subject) ])
|
||||
:: ("tags", [ (_, tags) ])
|
||||
:: ("thread-comment", [ (_, comment) ])
|
||||
:: ([] as categories) ) -> (
|
||||
let categories =
|
||||
List.map (fun (_name, category) -> category) categories
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue