Skip to content

Commit

Permalink
fix personal/neighbor rank id from String to Object (#1310)
Browse files Browse the repository at this point in the history
Change-Id: I2a0e42d199b3858facc900dbb745b8a5f2ef37da
  • Loading branch information
zhoney authored Dec 23, 2020
1 parent f0d1146 commit aa6f638
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 aa6f638

Please sign in to comment.