Update TamagotchiService.java
This commit is contained in:
parent
c123ff8ac0
commit
37e31c67b8
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class TamagotchiService {
|
||||||
if (device == null) {
|
if (device == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String defunctMessage = String.format("Tamagotchi %s of %s passed away", device.getOwner(), device.getOwner());
|
String defunctMessage = String.format("Tamagotchi %s of %s passed away", device.getId(), device.getOwner());
|
||||||
DefunctNotification defunctNotification = new DefunctNotification(defunctMessage);
|
DefunctNotification defunctNotification = new DefunctNotification(defunctMessage);
|
||||||
try {
|
try {
|
||||||
publisherService.publish(defunctNotification);
|
publisherService.publish(defunctNotification);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue