Skip to content

parse_image 0.2.0 is still using Parse.promise.as() and Parse.promise() which results in an exception #5190

Closed
@gorillatapstudio

Description

@gorillatapstudio

Before opening the issue please ensure that you have:

Issue Description

parse_image 0.2.0 is still using Parse.promise.as() and Parse.promise() which results in an exception

Steps to reproduce

return Parse.Cloud.httpRequest({ url: url }).then(function(response) {
var image = new Image();
return image.setData(response.buffer);

Expected Results

promise resolved

Actual Outcome

exception: Parse.promise is the wrong type

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 3.1.1beta
    • Operating System: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): back4app.com
  • Database

    • MongoDB version: [FILL THIS OUT]
    • Storage engine: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [FILL THIS OUT]

Logs/Trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions