Skip to content

Commit

Permalink
Fix stage users table not showing
Browse files Browse the repository at this point in the history
The stage users table is showing
an error instead of the data.
This is due to the wrong `objName`
assigned to the stage users API
call when assigning uids from the
previous call.

Signed-off-by: Carla Martinez <[email protected]>
  • Loading branch information
carma12 committed Feb 15, 2024
1 parent 808fccf commit 4956144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ export const api = createApi({
id = idResponseData.result.result[i] as fqdnType;
} else if (objName === "service") {
id = idResponseData.result.result[i] as servicesType;
} else if (objName === "user" || objName === "stage") {
} else if (objName === "user" || objName === "stageuser") {
id = idResponseData.result.result[i] as UIDType;
} else {
// Unknown, should never happen
Expand Down

0 comments on commit 4956144

Please sign in to comment.