Number of deletions

This commit is contained in:
JiaJu Zhuang
2023-07-23 23:59:47 +08:00
parent 2bca9f7ed8
commit 823e4b719d

View File

@ -101,7 +101,7 @@ public class AiConfigController {
public DataResult<InviteQrCodeResponse> getInviteQrCode() {
String apiKey = getApiKey();
if (StringUtils.isBlank(apiKey)) {
return DataResult.empty();
return DataResult.of(new InviteQrCodeResponse());
}
return gatewayClientService.getInviteQrCode(apiKey);
}