修改getBotDetail

This commit is contained in:
623756217 2023-03-09 11:43:13 +08:00
parent 52e603af7e
commit d07897ae70
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ public class MarketService implements IMarketService {
}
BeanUtils.copyProperties(registerBot,getBotDetailResponse);
// 设置开发者名称
getBotDetailResponse.setDeveloperName(api.getUserNameByUid(bot.getOwnerId().toString()));
getBotDetailResponse.setDeveloperName(api.getUserNameByUid(registerBot.getDeveloperId().toString()));
getBotDetailResponse.setLimitAndEvents(getLimitFromLimitEvents(botLimitEvents));
return getBotDetailResponse;
}