Skip to content

Commit

Permalink
rechore: ListModel to StrapiListModel
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Feb 26, 2024
1 parent 16e4ca1 commit 2ff7afc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions models/Activity/Team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class TeamModel extends Stream<Team, TeamFilter>(StrapiListModel) {
}

export class TeamMemberModel extends Stream<TeamMember, Filter<TeamMember>>(
ListModel,
StrapiListModel,
) {
constructor(baseURI: string) {
super();
Expand Down Expand Up @@ -226,7 +226,7 @@ export class TeamMemberModel extends Stream<TeamMember, Filter<TeamMember>>(
}
}

export class TeamWorkModel extends Stream<TeamWork>(ListModel) {
export class TeamWorkModel extends Stream<TeamWork>(StrapiListModel) {
client = strapiClient;

constructor(baseURI: string) {
Expand All @@ -252,7 +252,9 @@ export class TeamWorkModel extends Stream<TeamWork>(ListModel) {
}
}

export class TeamAssignmentModel extends Stream<AwardAssignment>(ListModel) {
export class TeamAssignmentModel extends Stream<AwardAssignment>(
StrapiListModel,
) {
client = strapiClient;

constructor(baseURI: string) {
Expand Down

1 comment on commit 2ff7afc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for open-hackathon ready!

✅ Preview
https://open-hackathon-axhby41e6-techquery.vercel.app

Built with commit 2ff7afc.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.