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 235b184 commit 6c62a63Copy full SHA for 6c62a63
server/apis/user/service.ts
@@ -2,7 +2,7 @@ import userModel from '@apis/user/model';
2
import workspaceModel from '@apis/workspace/model';
3
import AuthorizationError from '@errors/authorization-error';
4
5
-export const getWorksapces = async (targetUserId: number, userId: number) => {
+export const getWorkspaces = async (targetUserId: number, userId: number) => {
6
if (targetUserId !== userId)
7
throw new AuthorizationError(
8
'요청하신 유저 정보와 현재 로그인된 유저 정보가 달라요 ^^',
0 commit comments