Permalink
Browse files

use "path" for key.

  • Loading branch information...
1 parent 0f06d9b commit c501c00a598e8340c017e4e9ea3583b492516326 @mattn committed Dec 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/GitHub/Upload.pm
@@ -114,7 +114,7 @@ sub upload {
Filename => $info->{name},
policy => $upload_info->{policy},
success_action_status => 201,
- key => $upload_info->{prefix} . $info->{name},
+ key => $upload_info->{path},
AWSAccessKeyId => $upload_info->{accesskeyid},
'Content-Type' => $info->{content_type}
|| 'application/octet-stream',

0 comments on commit c501c00

Please sign in to comment.