Skip to content
This repository was archived by the owner on Feb 25, 2018. It is now read-only.
This repository was archived by the owner on Feb 25, 2018. It is now read-only.

Issue with file upload #160

@piyusharora1989

Description

@piyusharora1989

Hi,

There is issue with dataType function in parse.php. URL needs to entered as per the new version of parse while submitting file. So please change the following code:

case 'file':
$return = array(
"__type" => "File",
"name" => $params[0]
);
break;

with

case 'file':
$return = array(
"__type" => "File",
"name" => $params[0],
"url" => $params[1]
);
break;

Notice the url parameter. I have also added class for the batchRequest and made few more changes, like role assigment etc. If you can allow me to contribute, then I can upload new branch. Then we can merge it with master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions