From 2ff7afc5bb7d25751faecc46a0608678e8284d26 Mon Sep 17 00:00:00 2001 From: luojiyin Date: Mon, 26 Feb 2024 21:14:40 +0800 Subject: [PATCH] rechore: ListModel to StrapiListModel --- models/Activity/Team.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/models/Activity/Team.ts b/models/Activity/Team.ts index a64a97cf..a15c9676 100644 --- a/models/Activity/Team.ts +++ b/models/Activity/Team.ts @@ -176,7 +176,7 @@ export class TeamModel extends Stream(StrapiListModel) { } export class TeamMemberModel extends Stream>( - ListModel, + StrapiListModel, ) { constructor(baseURI: string) { super(); @@ -226,7 +226,7 @@ export class TeamMemberModel extends Stream>( } } -export class TeamWorkModel extends Stream(ListModel) { +export class TeamWorkModel extends Stream(StrapiListModel) { client = strapiClient; constructor(baseURI: string) { @@ -252,7 +252,9 @@ export class TeamWorkModel extends Stream(ListModel) { } } -export class TeamAssignmentModel extends Stream(ListModel) { +export class TeamAssignmentModel extends Stream( + StrapiListModel, +) { client = strapiClient; constructor(baseURI: string) {