Skip to content

Commit

Permalink
fix: 예외 받기
Browse files Browse the repository at this point in the history
  • Loading branch information
Conut-1 committed Dec 7, 2023
1 parent 19d7337 commit 04582a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class ProfileSpaceController {
await this.profileSpaceService.processData(userUuid, space_uuid);
const responseData = await this.profileSpaceService.create(joinData);
const data = await this.spacesService.processData(space_uuid, profileData);
this.profileSpaceService.put(userUuid, space_uuid, data);
await this.profileSpaceService.put(userUuid, space_uuid, data);
return responseData;
}

Expand Down
2 changes: 1 addition & 1 deletion nestjs-BE/server/src/spaces/spaces.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class SpacesController {
this.profileSpaceService.create(joinData);
const spaceData = response.data;
const data = { profileData, spaceData };
this.profileSpaceService.put(userUuid, spaceUuid, data);
await this.profileSpaceService.put(userUuid, spaceUuid, data);
return response;
}

Expand Down

0 comments on commit 04582a8

Please sign in to comment.