From c501c00a598e8340c017e4e9ea3583b492516326 Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 14 Dec 2011 17:23:30 +0900 Subject: [PATCH] use "path" for key. --- lib/Net/GitHub/Upload.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Net/GitHub/Upload.pm b/lib/Net/GitHub/Upload.pm index fceeda7..083c4bb 100644 --- a/lib/Net/GitHub/Upload.pm +++ b/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',