Skip to content

Commit

Permalink
fix personal/neighbor rank id from String to Object
Browse files Browse the repository at this point in the history
Change-Id: I2a0e42d199b3858facc900dbb745b8a5f2ef37da
  • Loading branch information
zhoney committed Dec 22, 2020
1 parent f0d1146 commit e0c85c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static List<NeighborRankTraverser.Step> steps(HugeGraph graph,
private static class RankRequest {

@JsonProperty("source")
private String source;
private Object source;
@JsonProperty("steps")
private List<Step> steps;
@JsonProperty("alpha")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String personalRank(@Context GraphManager manager,
private static class RankRequest {

@JsonProperty("source")
private String source;
private Object source;
@JsonProperty("label")
private String label;
@JsonProperty("alpha")
Expand Down

0 comments on commit e0c85c3

Please sign in to comment.