Skip to content

Commit ca69478

Browse files
Pawel Szymanskiandreidiaconu
authored andcommitted
Change date types in Gallery model
1 parent 192e52b commit ca69478

File tree

1 file changed

+4
-4
lines changed
  • api/src/main/java/com/creatubbles/api/model/gallery

1 file changed

+4
-4
lines changed

api/src/main/java/com/creatubbles/api/model/gallery/Gallery.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ public class Gallery {
2929
private boolean openForAll;
3030

3131
@JsonProperty("created_at")
32-
private String createdAt;
32+
private Date createdAt;
3333

3434
@JsonProperty("updated_at")
35-
private String updatedAt;
35+
private Date updatedAt;
3636

3737
@JsonProperty("last_bubbled_at")
3838
private Date lastBubbledAt;
@@ -108,12 +108,12 @@ public boolean getOpenForAll() {
108108
}
109109

110110
@NonNull
111-
public String getCreatedAt() {
111+
public Date getCreatedAt() {
112112
return createdAt;
113113
}
114114

115115
@NonNull
116-
public String getUpdatedAt() {
116+
public Date getUpdatedAt() {
117117
return updatedAt;
118118
}
119119

0 commit comments

Comments
 (0)