Skip to content

Commit 4b10413

Browse files
committed
fix
1 parent 40e13ed commit 4b10413

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/JSONFormatter/JSONFormatter.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ export class JSONFormatter extends Component {
9595
var encodedBuffer = encode(ids);
9696
var base64WithoutPadding = Buffer.from(encodedBuffer).toString('base64').replace(/=+$/, '');
9797

98-
var json = {};
99-
json["Enterprise"] = 'E_' + base64WithoutPadding;
100-
json["Organization"] = 'O_' + base64WithoutPadding;
101-
json["User"] = 'U_' + base64WithoutPadding;
102-
json["Repository"] = 'R_' + base64WithoutPadding;
103-
jsonString = JSON.stringify(json, null, 4);
98+
var protential_json = {};
99+
protential_json["Enterprise"] = 'E_' + base64WithoutPadding;
100+
protential_json["Organization"] = 'O_' + base64WithoutPadding;
101+
protential_json["User"] = 'U_' + base64WithoutPadding;
102+
protential_json["Repository"] = 'R_' + base64WithoutPadding;
103+
jsonString = JSON.stringify(protential_json, null, 4);
104104
}
105105
else {
106106
var parts = input.split('_', 2);

0 commit comments

Comments
 (0)