Commit 45409b41 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[API] pairWith connected (needs async)

parent 5a95a885
......@@ -16,7 +16,7 @@ import Reactix.DOM.HTML as H
linkNodeReq :: Session -> GT.ID -> GT.ID -> Aff (Array GT.ID)
linkNodeReq session fromId toId =
put_ session $ NodeAPI GT.Node (Just fromId) ("link/" <> show toId)
put_ session $ NodeAPI GT.Node (Just fromId) ("pairWith/" <> show toId)
linkNode :: Record SubTreeParamsIn -> R.Element
linkNode p = R.createElement linkNodeCpt p []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment