aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/activities
diff options
context:
space:
mode:
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.java11
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;
}
}