better-pastebin
better-pastebin copied to clipboard
'edit' functionality not working
edit seems to be broken. It's returning success, but the specified paste is not actually modified. I've created and read a paste from within the callback which confirmed the dev key and login credentials are valid.
var paste = require('better-pastebin');
paste.setDevKey('***');
paste.login('***', '***', function(success, data) {
if(!success) {
console.log('Login Failed (' + data + ')');
return false;
}
paste.edit('***', 'i am editing this', function(success, data) {
if(!success) {
console.log('Edit Failed (' + data + ')');
} else {
console.log('Edit Succeeded (' + data + ')');
}
});
});
can confirm EDIT is not working as intended