Skip to content

Commit 9122c1c

Browse files
committed
Merge pull request #29 from cpomerantz/master
Bucket name being encoded twice when retrieving keys.
2 parents 42f83e3 + 682f501 commit 9122c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/rekon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ rekonApp = Sammy('#container', function(){
5252

5353
bucket.keys(function(keys) {
5454
if (keys.length > 0) {
55-
keyRows = keys.map(function(key) { return {bucket:encode(name), key:encode(key)}; });
55+
keyRows = keys.map(function(key) { return {bucket:name, key:encode(key)}; });
5656
context.renderEach('key-row.html.template', keyRows).replace('#keys tbody').then(
5757
function(){ searchable('#bucket table tbody tr'); }
5858
);

0 commit comments

Comments
 (0)