We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e236158 commit f93f9b2Copy full SHA for f93f9b2
client/src/components/WorkspaceList/index.tsx
@@ -16,7 +16,7 @@ function WorkspaceList({ onSelectModalOpen }: WorkspaceListProps) {
16
const userContext = useContext(UserContext);
17
18
const updateWorkspaces = async (userId: number) => {
19
- const { workspaces } = await getWorkspaces(userId);
+ const { workspaces } = await getWorkspaces({ id: userId });
20
setWorkspaces(workspaces);
21
};
22
client/src/pages/OAuth/index.tsx
@@ -18,7 +18,7 @@ function OAuthPage() {
const login = async (code: string) => {
try {
- const authorizedUser = await postAuthLogin(code);
+ const authorizedUser = await postAuthLogin({ code });
23
userContext.setUser(authorizedUser);
24
0 commit comments