mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-11 04:50:25 +08:00
优化代码
This commit is contained in:
@@ -41,7 +41,7 @@ func (this *ServerStatBoardService) FindAllEnabledServerStatBoards(ctx context.C
|
||||
pbBoards = append(pbBoards, &pb.ServerStatBoard{
|
||||
Id: int64(board.Id),
|
||||
Name: board.Name,
|
||||
IsOn: board.IsOn == 1,
|
||||
IsOn: board.IsOn,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user