feat: Added get all teams
This commit is contained in:
parent
ea405ba6d5
commit
fabc504e06
3
webv2/server/api/teams/index.get.ts
Normal file
3
webv2/server/api/teams/index.get.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export default defineEventHandler(async () => {
|
||||||
|
return await TeamModel.find()
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user