remove return new HttpSuccess([]) more
This commit is contained in:
parent
bfae3e012d
commit
6642f395f0
13 changed files with 39 additions and 39 deletions
|
|
@ -43,9 +43,9 @@ export class PrefixController extends Controller {
|
|||
select: ["id", "name", "createdAt", "lastUpdatedAt", "createdFullName", "lastUpdateFullName"],
|
||||
order: { createdAt: "ASC" },
|
||||
});
|
||||
if (!_prefix) {
|
||||
return new HttpSuccess([]);
|
||||
}
|
||||
// if (!_prefix) {
|
||||
// return new HttpSuccess([]);
|
||||
// }
|
||||
return new HttpSuccess(_prefix);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue