diff options
author | Vitaly Takmazov | 2018-10-04 14:18:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-04 14:18:53 +0300 |
commit | 051fd4608ebd30e94eb847906571f5f221d3e952 (patch) | |
tree | 23b4e51a768dfb4ae2dd1b767fece49f1817cabf /juick-server/src/main/java/com/juick/service/activities | |
parent | 873fbbc8b7f59c68c6bf37ff9af79c8fb2aef8ed (diff) |
Undo object deserialized as Map
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/activities')
-rw-r--r-- | juick-server/src/main/java/com/juick/service/activities/UndoFollowEvent.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/juick-server/src/main/java/com/juick/service/activities/UndoFollowEvent.java b/juick-server/src/main/java/com/juick/service/activities/UndoFollowEvent.java index fa162b2e..2b48e6f6 100644 --- a/juick-server/src/main/java/com/juick/service/activities/UndoFollowEvent.java +++ b/juick-server/src/main/java/com/juick/service/activities/UndoFollowEvent.java @@ -1,27 +1,26 @@ package com.juick.service.activities; -import com.juick.server.api.activity.model.activities.Follow; import org.springframework.context.ApplicationEvent; public class UndoFollowEvent extends ApplicationEvent { private String actor; - private Follow followRequest; + private String object; /** * Create a new ApplicationEvent. * * @param source the object on which the event initially occurred (never {@code null}) */ - public UndoFollowEvent(Object source, String actor, Follow object) { + public UndoFollowEvent(Object source, String actor, String object) { super(source); this.actor = actor; - this.followRequest = object; + this.object = object; } public String getActor() { return actor; } - public Follow getFollowRequest() { - return followRequest; + public String getObject() { + return object; } } |