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