Skip to content

Commit

Permalink
I do not want to disable colors because of one person.
Browse files Browse the repository at this point in the history
  • Loading branch information
boomzero committed Aug 18, 2024
1 parent 2ed4cf4 commit ae3cf2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1232,8 +1232,8 @@ export class Process {
}
return new Result(true, "获得标签成功", {
Content: BadgeData[0]["content"],
BackgroundColor: BadgeData[0]["background_color"],
Color: BadgeData[0]["color"]
BackgroundColor: Data["UserID"] === "zhouyiqing" ? "#000000" : BadgeData[0]["background_color"],
Color: Data["UserID"] === "zhouyiqing" ? "#ffffff" : BadgeData[0]["color"]
});
},
DeleteBadge: async (Data: object): Promise<Result> => {
Expand Down

0 comments on commit ae3cf2c

Please sign in to comment.