style: fix
This commit is contained in:
1 parent
82c37429ab
commit
1f3251cdc5
9 files changed
+40
-43
No files matched your search
@@ -18,6 +18,6 @@ export class GetCollectionList extends BaseAction<Payload, any> {
|
||||
PayloadSchema = SchemaData;
|
||||
async _handle(payload: Payload) {
|
||||
const NTQQCollectionApi = this.CoreContext.apis.CollectionApi;
|
||||
return await NTQQCollectionApi.getAllCollection(parseInt(payload.category.toString()), parseInt(payload.count.toString()));
|
||||
return await NTQQCollectionApi.getAllCollection(parseInt(payload.category.toString()), +(payload.count ?? 1));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user