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

Commit

Permalink
rephrased update_with_media callback message
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schmid committed Nov 18, 2015
1 parent f8270c1 commit 175c059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Twitter.prototype.statuses = function(type, params, accessToken, accessTokenSecr
this.uploadMedia(params, accessToken, accessTokenSecret, callback);
return;
case "update_with_media":
callback("Upload with media type is deprecated. Use 'upload_media' instead");
callback("'update_with_media' type has been removed. Use 'upload_media' instead");
return false;
default:
callback("Please specify an existing type.");
Expand Down

0 comments on commit 175c059

Please sign in to comment.