작성한 질문수
[코드팩토리] [초급] NestJS REST API 백엔드 완전 정복 마스터 클래스 - NestJS Core
해결된 질문
2023. 11. 30. 15:10 작성
·
250
0
async patchPost(id: number, title: string, content: string, author: string) { const post = await this.postsRepository.save({ id, title, content, author, }); if (!post) { throw new NotFoundException(); } return post; }
답변 1
2
2023. 11. 30. 15:15
안녕하세요!
가능합니다!
감사합니다!