Skip to content

Commit dfed179

Browse files
committed
add a console log to see the data passed to the cloud sso utm builder
1 parent 89be81f commit dfed179

File tree

1 file changed

+5
-0
lines changed
  • redisinsight/ui/src/slices/oauth

1 file changed

+5
-0
lines changed

redisinsight/ui/src/slices/oauth/cloud.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ export function fetchUserInfo(
353353
dispatch(getUserInfo())
354354

355355
try {
356+
console.log('source', getState().oauth?.cloud?.source)
357+
console.log(
358+
'getCloudSsoUtmParams',
359+
getCloudSsoUtmParams(getState().oauth?.cloud?.source),
360+
)
356361
const { data, status } = await apiService.get<CloudUser>(
357362
ApiEndpoints.CLOUD_ME,
358363
{

0 commit comments

Comments
 (0)