Skip to content

Commit bb4eed9

Browse files
committed
do async requests
1 parent 21efab9 commit bb4eed9

File tree

1 file changed

+1
-1
lines changed
  • solga-client-ghcjs/src/Solga/Client

1 file changed

+1
-1
lines changed

solga-client-ghcjs/src/Solga/Client/GHCJS.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ performXHR respType Request{..} = do
181181
let xhr = reqXHR
182182
DOM.setResponseType xhr respType
183183
uri <- js_encodeURI (reqHost <> JSS.intercalate "/" (DList.toList reqSegments) <> reqQueryString)
184-
DOM.open xhr reqMethod uri False reqUser reqPassword
184+
DOM.open xhr reqMethod uri True reqUser reqPassword
185185
for_ reqHeaders (uncurry (DOM.setRequestHeader xhr))
186186
r <- case reqBody of
187187
Nothing -> js_send0 xhr

0 commit comments

Comments
 (0)