-
-
Save bwalton/23170296793f76ea85349e4e197c9920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var uppy = window.Robodog.pick({ | |
providers: [], | |
waitForEncoding: true, | |
autoProceed: true, | |
restrictions: { | |
maxNumberOfFiles: 1, | |
maxFileSize: (250*1024*1024), | |
allowedFileTypes: ['.jpg', '.jpeg', '.png'] | |
}, | |
params: { | |
auth: { key: "" }, | |
template_id: '' | |
} | |
}).then(function(result) { | |
console.log("result", result) | |
}).catch(function(error) { | |
console.log("error", error) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment