Commit f8fa5702 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

tree: small fixes

parent 500cfd95
......@@ -14,7 +14,7 @@ import Data.Argonaut.Core (Json)
import Data.Either (Either(..))
import Data.HTTP.Method (Method(..))
import Data.Maybe (Maybe(..))
import Data.Newtype (class Newtype, over)
import Data.Newtype (class Newtype)
import DOM.Simple.Console
import Effect (Effect)
import Effect.Aff (Aff)
......@@ -506,7 +506,7 @@ instance encodeJsonCreateValue :: EncodeJson CreateValue where
~> "files_id" := ([] :: Array String)
~> jsonEmptyObject
createNode :: CreateValue -> Aff (Array Int)
createNode :: CreateValue -> Aff Int
createNode = post $ urlPlease Back $ "new"
renameNode :: Int -> RenameValue -> Aff (Array Int)
......
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