remove return new HttpSuccess([]) more
This commit is contained in:
parent
bfae3e012d
commit
6642f395f0
13 changed files with 39 additions and 39 deletions
|
|
@ -271,9 +271,9 @@ export class ProfileController extends Controller {
|
|||
return new HttpSuccess({ data: formattedData, total: formattedData.length });
|
||||
}
|
||||
|
||||
if (!profile) {
|
||||
return new HttpSuccess([]);
|
||||
}
|
||||
// if (!profile) {
|
||||
// return new HttpSuccess([]);
|
||||
// }
|
||||
|
||||
const formattedData = profile.map((item) => ({
|
||||
id: item.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue