summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpegatino.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/pegatino.pl b/pegatino.pl
index 7ef2e61..2799c75 100755
--- a/pegatino.pl
+++ b/pegatino.pl
@@ -36,4 +36,6 @@ close $newh;
unlink $origpath, $newpath;
-print encode_json({type => 'DOCUMENT', caption => 'Tenga, ayúdese', content => encode_base64 $newimg, '' });
+print encode_json({type => 'DOCUMENT', caption => 'Tenga, ayúdese',
+ content => encode_base64 $newimg, '',
+ filename => 'cosa.png'});