-Wall police
This commit is contained in:
parent
d760149ce0
commit
c660b9cb0b
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ generateJS req = "\n" <>
|
|||
reqheaders =
|
||||
if null hs
|
||||
then ""
|
||||
else "\n , headers: { " ++ headersStr hs ++ " } }\n"
|
||||
else "\n , headers: { " ++ headersStr ++ " } }\n"
|
||||
|
||||
where headersStr hs = intercalate ", " $ map headerStr hs
|
||||
where headersStr = intercalate ", " $ map headerStr hs
|
||||
headerStr hname = "\"" ++ hname ++ "\": header" ++ hname
|
||||
|
||||
fname = req ^. funcName
|
||||
|
|
Loading…
Reference in a new issue