Skip to content

Commit

Permalink
Merge branch 'fixapi' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpiotzh committed Aug 16, 2024
2 parents 3e7e75f + 373d054 commit dd672f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion http_server/handle/did_cell_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (h *HttpHandle) doDidCellList(ctx context.Context, req *ReqDidCellList, api
for _, v := range list {
didAcc := DidAccount{
Account: v.Account,
ExpiredAt: v.ExpiredAt,
ExpiredAt: v.ExpiredAt * 1000,
}
resp.List = append(resp.List, didAcc)
}
Expand Down
2 changes: 1 addition & 1 deletion http_server/handle/did_cell_recyclable_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (h *HttpHandle) doDidCellRecyclableList(ctx context.Context, req *ReqDidCel
for _, v := range list {
resp.List = append(resp.List, DidCellRecyclable{
Account: v.Account,
ExpiredAt: v.ExpiredAt,
ExpiredAt: v.ExpiredAt * 1000,
})
accounts = append(accounts, v.Account)
}
Expand Down
2 changes: 1 addition & 1 deletion http_server/handle/did_cell_upgradable_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (h *HttpHandle) doDidCellUpgradableList(ctx context.Context, req *ReqDidCel
acc := UpgradableAccount{
AccountId: v.AccountId,
Account: v.Account,
ExpiredAt: v.ExpiredAt,
ExpiredAt: v.ExpiredAt * 1000,
UpgradeStatus: UpgradeStatusDefault,
}
resp.List = append(resp.List, acc)
Expand Down

0 comments on commit dd672f3

Please sign in to comment.