parent
bb9e5fb6cd
commit
13651cbe1c
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@
|
|||
|
||||
(defun %camel-case-hash-table->kebab-case-plist (hash-table)
|
||||
(loop :for (key . val) :in (hash-table-alist hash-table)
|
||||
:append (list (make-keyword (string-upcase (to-kebab-case key))) val)))
|
||||
:append (list (make-keyword (string-upcase (to-kebab-case key)))
|
||||
(if (typep val 'hash-table)
|
||||
(%camel-case-hash-table->kebab-case-plist val)
|
||||
val))))
|
||||
|
||||
(defun %build-query (query)
|
||||
(%kebab-case-plist->camel-case-alist query))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue