Skip to content

Commit 198b3ce

Browse files
committed
camelCase
1 parent af62360 commit 198b3ce

File tree

1 file changed

+4
-4
lines changed
  • services/static-webserver/client/source/class/osparc/desktop/preferences/pages

1 file changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/desktop/preferences/pages/TokensPage.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ qx.Class.define("osparc.desktop.preferences.pages.TokensPage", {
9090
.then(data => {
9191
this.__rebuildAPIKeysList();
9292

93-
const key = data["api_key"];
94-
const secret = data["api_secret"];
95-
const baseUrl = data["api_base_url"];
93+
const key = data["apiKey"];
94+
const secret = data["apiSecret"];
95+
const baseUrl = data["apiBaseUrl"];
9696
const showAPIKeyWindow = new osparc.desktop.preferences.window.ShowAPIKey(key, secret, baseUrl);
9797
showAPIKeyWindow.center();
9898
showAPIKeyWindow.open();
@@ -120,7 +120,7 @@ qx.Class.define("osparc.desktop.preferences.pages.TokensPage", {
120120
__createAPIKeyEntry: function(apiKey) {
121121
const grid = this.__createValidEntryLayout();
122122

123-
const nameLabel = new qx.ui.basic.Label(apiKey["display_name"]);
123+
const nameLabel = new qx.ui.basic.Label(apiKey["displayName"]);
124124
grid.add(nameLabel, {
125125
row: 0,
126126
column: 0

0 commit comments

Comments
 (0)