Skip to content

Commit

Permalink
Removed payForGames field.
Browse files Browse the repository at this point in the history
  • Loading branch information
guptakshitij2308 committed Oct 11, 2024
1 parent f9f83c1 commit 65b268d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void setPassId(String passId) {

private Integer totalGames;

private Integer payForGames;
// private Integer payForGames;

private Integer totalDays;

Expand Down Expand Up @@ -80,13 +80,13 @@ public void setDescription(String description) {
this.description = description;
}

public Integer getPayForGames() {
return payForGames;
}

public void setPayForGames(Integer payForGames) {
this.payForGames = payForGames;
}
// public Integer getPayForGames() {
// return payForGames;
// }
//
// public void setPayForGames(Integer payForGames) {
// this.payForGames = payForGames;
// }

public Integer getTotalGames() {
return totalGames;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Pass mapEventToGQLType(com.flickmatch.platform.dynamodb.model.Pass ddbPass) {
.price(ddbPass.getPrice())
.description(ddbPass.getDescription())
.features(ddbPass.getFeatures())
.payForGames(ddbPass.getPayForGames())
// .payForGames(ddbPass.getPayForGames())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public class Pass {
private String title;
private Double price;
private String status;
private Integer payForGames;
private List<String> features;
private String description;

Expand Down
2 changes: 1 addition & 1 deletion platform/src/main/resources/graphql/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ type Pass {
status: String!
features: [String]
description: String
payForGames: Int
# payForGames: Int
}

type User {
Expand Down

0 comments on commit 65b268d

Please sign in to comment.