Skip to content

Commit

Permalink
[fix] 2 detail bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Dec 23, 2023
1 parent 89e0088 commit 9fa396f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-lark",
"version": "1.1.0",
"version": "1.1.1",
"license": "LGPL-3.0",
"author": "[email protected]",
"description": "Unofficial TypeScript SDK for FeiShu/Lark API, which is based on MobX-RESTful.",
Expand Down
4 changes: 3 additions & 1 deletion src/module/Task/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import {
TaskSummary
} from './type';

export * from './type';

export interface BaseTaskFilter {
user_id_type?: UserIdType;
}
Expand Down Expand Up @@ -57,7 +59,7 @@ export abstract class TaskModel extends Stream<Task, TaskFilter>(ListModel) {
this.client,
`task/v2/tasklists/${resource_id}/tasks`,
total => (this.totalCount = total),
rest
{ user_id_type, ...rest }
);
for await (const { guid } of stream)
yield await this.getOne(guid, user_id_type);
Expand Down

0 comments on commit 9fa396f

Please sign in to comment.