feat: update API endpoints to include '/list' for model retrieval in routes and templates, fixes #344

This commit is contained in:
Will Miao
2025-08-07 18:06:40 +08:00
parent 6678ec8a60
commit fa9c78209f
5 changed files with 5 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ export function getApiEndpoints(modelType) {
return {
// Base CRUD operations
list: `/api/${modelType}`,
list: `/api/${modelType}/list`,
delete: `/api/${modelType}/delete`,
exclude: `/api/${modelType}/exclude`,
rename: `/api/${modelType}/rename`,