Closed
Description
Before opening the issue please ensure that you have:
- Read the migration guide to parse-server 3.0.0
- Read the migration guide to Parse SDK JS 2.0.0
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
Labels
No labels