Skip to content

Commit c0f737d

Browse files
committed
Hotfix
1 parent 11049aa commit c0f737d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

backend/demo-group7/src/main/java/com/group7/demo/dtos/PostResponse.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.group7.demo.dtos;
22

3-
import com.fasterxml.jackson.annotation.JsonProperty;
43
import lombok.AllArgsConstructor;
54
import lombok.Builder;
65
import lombok.Data;
@@ -25,14 +24,4 @@ public class PostResponse {
2524
private boolean isLiked;
2625
private boolean isBookmarked;
2726
private String imageUrl;
28-
29-
@JsonProperty("isLiked") // Explicitly specify the field name for JSON serialization
30-
public boolean getIsLiked() {
31-
return isLiked;
32-
}
33-
34-
@JsonProperty("isLiked") // Explicitly specify the field name for JSON serialization
35-
public boolean getIsBookmarked() {
36-
return isBookmarked;
37-
}
3827
}

0 commit comments

Comments
 (0)