fix: disable useGetOAuthClientManagedUsers if clientId not defined (#15040)
This commit is contained in:
1 parent
0a0c5ef61e
commit
973b624882
1 file changed
+1
@@ -77,6 +77,7 @@ export const useGetOAuthClientManagedUsers = (clientId: string) => {
|
||||
headers: { "Content-type": "application/json" },
|
||||
}).then((res) => res.json());
|
||||
},
|
||||
enabled: Boolean(clientId),
|
||||
});
|
||||
|
||||
return { isLoading, error, data: response?.data, refetch };
|
||||
|
||||
Reference in new issue
Block a user