chore: fixing type for storage task broker
Signed-off-by: blam <ben@blam.sh> Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -151,7 +151,7 @@ export class StorageTaskBroker implements TaskBroker {
|
||||
private readonly logger: Logger,
|
||||
) {}
|
||||
|
||||
async list(options?: Partial<SerializedTask>): Promise<SerializedTask[]> {
|
||||
async list(options?: { createdBy?: string }): Promise<SerializedTask[]> {
|
||||
return await this.storage.list({ createdBy: options?.createdBy });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user