Commit 8d208e68 authored by Dima Knivets's avatar Dima Knivets Committed by Mo Firouz
Browse files

fixed issue #142

parent c0a311ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ func (n *NotificationService) notificationsSave(notifications []*NNotification)

		statements = append(statements, "("+statement+")")

		params = append(params, generateNewId())
		params = append(params, no.Id)
		params = append(params, no.UserID)
		params = append(params, no.Subject)
		params = append(params, no.Content)
+2 −0
Original line number Diff line number Diff line
@@ -1995,6 +1995,8 @@ func (n *NakamaModule) notificationsSendId(l *lua.LState) int {
			return
		}

		notification.Id = generateNewId()

		notifications = append(notifications, notification)
	})