Skip to content

Commit 60c3069

Browse files
bulk cpi update (#455)
1 parent 23d6510 commit 60c3069

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/helpers/admin/api.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,9 @@ export async function deleteRegistrations(ids: string[]): Promise<any> {
7979
queryParam: { id: ids },
8080
});
8181
}
82+
export async function updateStudents(payload: any[]): Promise<any> {
83+
return apiCall("/students", {
84+
method: "PATCH",
85+
body: payload,
86+
});
87+
}

0 commit comments

Comments
 (0)