Skip to content

Commit

Permalink
Merge pull request #622 from planetarium/main
Browse files Browse the repository at this point in the history
development back merge main(v200140)
  • Loading branch information
ipdae authored Feb 20, 2024
2 parents e6f0eb4 + 3069abe commit 375dd63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public async Task WorldBossRanking(bool hex)
var models = (object[]) data["rankingInfo"];
Assert.Equal(101, models.Length);
var raider = (Dictionary<string, object>)models.Last();
Assert.Equal(targetAvatarAddress.ToString(), raider["address"]);
// FIXME should be use AddressType
Assert.Equal(targetAvatarAddress.ToHex(), raider["address"]);
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ public WorldBossRankingType()
description: "Season ranking.",
resolve: context => context.Source.Ranking
);
Field<NonNullGraphType<AddressType>>(

// FIXME should be use AddressType
Field<NonNullGraphType<StringGraphType>>(
nameof(WorldBossRankingModel.Address),
description: "Address of avatar.",
resolve: context => new Address(context.Source.Address!)
resolve: context => context.Source.Address
);
Field<NonNullGraphType<StringGraphType>>(
nameof(WorldBossRankingModel.AvatarName),
Expand Down
2 changes: 1 addition & 1 deletion NineChronicles.Headless
Submodule NineChronicles.Headless updated 1 files
+1 −1 Lib9c

0 comments on commit 375dd63

Please sign in to comment.