parent
09df1eb896
commit
3e4bfef14e
|
@ -15,10 +15,10 @@ class MemberNotificationService(private val repository: MemberNotificationReposi
|
|||
var notification = repository.getMemberNotification(memberId = member.id!!)
|
||||
if (notification == null) {
|
||||
notification = MemberNotification(
|
||||
uploadContent = uploadContent,
|
||||
live = live,
|
||||
message = message,
|
||||
audition = audition
|
||||
uploadContent = uploadContent ?: false,
|
||||
live = live ?: false,
|
||||
message = message ?: false,
|
||||
audition = audition ?: false
|
||||
)
|
||||
notification.member = member
|
||||
repository.save(notification)
|
||||
|
|
Loading…
Reference in New Issue