-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Example: https://stackblitz.com/edit/vitejs-vite-mygi8omd?file=src%2Fmain.ts
Fillowing code creates a request with invalid query parameters.
import { APIFactory } from '@redhat-cloud-services/javascript-clients-shared';
import getPrincipalAccess from '@redhat-cloud-services/rbac-client/GetPrincipalAccess';
const rbacApi = APIFactory("/", {
getPrincipalAccess
})
rbacApi.getPrincipalAccess({
application: 'foo',
limit: 123
})If you check the network tab these params are created:
?application.application=foo&application.limit=123
But correct parameters should be:
?application=foo&limit=123
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels