Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrongly named field in TeamMemberSystemHookEvent #1092

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ public class TeamMemberSystemHookEvent extends AbstractSystemHookEvent {
private Date createdAt;
private Date updatedAt;
private String eventName;
@Deprecated
private String projectAccess;
private String accessLevel;
private String projectName;
private String projectPath;
private Long projectId;
Expand Down Expand Up @@ -50,14 +52,30 @@ public void setEventName(String eventName) {
this.eventName = eventName;
}

/**
* No longer used. Probably replaced by {@link #getAccessLevel()}
*/
@Deprecated
public String getProjectAccess() {
return projectAccess;
}

/**
* No longer used. Probably replaced by {@link #setAccessLevel(String)}
*/
@Deprecated
public void setProjectAccess(String projectAccess) {
this.projectAccess = projectAccess;
}

public String getAccessLevel() {
return accessLevel;
}

public void setAccessLevel(String accessLevel) {
this.accessLevel = accessLevel;
}

public String getProjectName() {
return projectName;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"created_at": "2012-07-21T07:30:56Z",
"updated_at": "2012-07-21T07:38:22Z",
"event_name": "user_add_to_team",
"project_access": "Master",
"access_level": "Master",
"project_id": 74,
"project_name": "StoreCloud",
"project_path": "storecloud",
Expand Down
Loading