File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/components/JSONFormatter Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,12 @@ export class JSONFormatter extends Component {
95
95
var encodedBuffer = encode ( ids ) ;
96
96
var base64WithoutPadding = Buffer . from ( encodedBuffer ) . toString ( 'base64' ) . replace ( / = + $ / , '' ) ;
97
97
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 ) ;
104
104
}
105
105
else {
106
106
var parts = input . split ( '_' , 2 ) ;
You can’t perform that action at this time.
0 commit comments