Skip to content

Commit 47294ed

Browse files
committed
Correct API fetch params and data in few settings actions
Correct the params and data in connection Disconnect Correct the params and data in service account remove
1 parent 0ef1a10 commit 47294ed

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

apps/cyberstorm-remix/app/settings/teams/team/tabs/ServiceAccounts/ServiceAccounts.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@ export default function ServiceAccounts() {
162162
config: outletContext.requestConfig,
163163
params: {
164164
team_name: teamName,
165+
uuid: serviceAccount.identifier,
165166
},
166167
queryParams: {},
167-
data: {
168-
service_account_uuid: serviceAccount.identifier,
169-
},
168+
data: {},
170169
});
171170
}}
172171
csVariant="danger"

apps/cyberstorm-remix/app/settings/user/Connections/Connections.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,10 @@ export default function Connections() {
126126
return onSubmit({
127127
params: {
128128
provider: p,
129-
user: outletContext.currentUser.username,
130129
},
131130
config: outletContext.requestConfig,
132131
queryParams: {},
133-
data: {},
132+
data: { provider: p },
134133
});
135134
}}
136135
/>

0 commit comments

Comments
 (0)