mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 08:21:21 +00:00
Use GHCommitState for deployment status state
This commit is contained in:
@@ -28,8 +28,8 @@ public class GHDeploymentStatus extends Identifiable {
|
||||
public URL getRepositoryUrl() {
|
||||
return GitHub.parseURL(repository_url);
|
||||
}
|
||||
public GHCommitState getState() {
|
||||
return GHCommitState.valueOf(state.toUpperCase());
|
||||
public GHDeploymentState getState() {
|
||||
return GHDeploymentState.valueOf(state.toUpperCase());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user