1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-23 19:26:31 -06:00

Differentiate school announcements by userLoginId (#1744)

This commit is contained in:
Mikołaj Pich 2022-01-01 13:52:51 +01:00 committed by GitHub
parent bc672e94f8
commit 8877322357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import io.github.wulkanowy.sdk.pojo.DirectorInformation as SdkDirectorInformatio
fun List<SdkDirectorInformation>.mapToEntities(student: Student) = map {
SchoolAnnouncement(
studentId = student.studentId,
studentId = student.userLoginId,
date = it.date,
subject = it.subject,
content = it.content,