add registration event sort
This commit is contained in:
@@ -25,6 +25,10 @@ async function update(req: RegistrationEvent): Promise<void> {
|
||||
return await axios.post(`${BASE_URI}/update`, req);
|
||||
}
|
||||
|
||||
async function sort(idList: string[]): Promise<void> {
|
||||
return await axios.post(`${BASE_URI}/sort`, idList);
|
||||
}
|
||||
|
||||
async function remove(id: string): Promise<void> {
|
||||
return await axios.post(`${BASE_URI}/delete`, undefined, {
|
||||
params: { id }
|
||||
@@ -37,5 +41,6 @@ export default {
|
||||
detail,
|
||||
create,
|
||||
update,
|
||||
sort,
|
||||
remove
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user