Skip to content

Commit afa88a1

Browse files
fix: Crowdin proofreader events are not well triggered - Meeds-io/meeds#2655 (#63)
Removed unnecessary properties
1 parent 73f180d commit afa88a1

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

gamification-crowdin-services/src/main/java/io/meeds/crowdin/gamification/model/RemoteApproval.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,4 @@ public class RemoteApproval implements Cloneable {
3131

3232
private String userName;
3333

34-
private String translationId;
35-
36-
private String stringId;
37-
38-
private String languageId;
39-
40-
4134
}

gamification-crowdin-services/src/main/java/io/meeds/crowdin/gamification/storage/CrowdinConsumerStorage.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,10 +400,6 @@ public RemoteApproval getApproval(String accessToken, String projectId,String tr
400400
remoteApproval.setId(jsonObject.getInt("id"));
401401

402402
remoteApproval.setUserName(userJsonObject.getString("username"));
403-
remoteApproval.setTranslationId(jsonObject.getString("translationId"));
404-
remoteApproval.setLanguageId(jsonObject.getString("languageId"));
405-
remoteApproval.setStringId(jsonObject.getString("stringId"));
406-
remoteApproval.setLanguageId(jsonObject.getString("languageId"));
407403

408404
return remoteApproval;
409405

0 commit comments

Comments
 (0)