Skip to content

Commit d858569

Browse files
committed
Update Org
1 parent 19973a3 commit d858569

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ triển ứng dụng CodeCampus. Dự án được xây dựng dựa trên kiế
1111
và trải nghiệm người dùng.
1212

1313
### Mục tiêu chính
14-
14+
1515
- Cung cấp các bài tập lập trình tương tác với phản hồi thời gian thực.
1616
- Thúc đẩy thảo luận cộng đồng qua diễn đàn công khai và riêng tư.
1717
- Hỗ trợ giáo viên tạo và quản lý bài tập, bài thi và tài nguyên.

search-service/src/main/java/com/codecampus/search/mapper/OrganizationMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ default OrganizationDocument toOrganizationDocumentFromOrganizationPayload(
1818
.id(id)
1919
.name(p.getName())
2020
.description(p.getDescription())
21+
.ownerId(p.getOwnerId())
2122
.logoUrl(p.getLogoUrl())
2223
.email(p.getEmail())
2324
.phone(p.getPhone())
@@ -36,6 +37,7 @@ default void toOrganizationDocumentFromOrganizationPayload(
3637
}
3738
doc.setName(p.getName());
3839
doc.setDescription(p.getDescription());
40+
doc.setOwnerId(p.getOwnerId());
3941
doc.setLogoUrl(p.getLogoUrl());
4042
doc.setEmail(p.getEmail());
4143
doc.setPhone(p.getPhone());

0 commit comments

Comments
 (0)