diff --git a/webv2/server/api/teams/index.get.ts b/webv2/server/api/teams/index.get.ts new file mode 100644 index 0000000..1fdd704 --- /dev/null +++ b/webv2/server/api/teams/index.get.ts @@ -0,0 +1,3 @@ +export default defineEventHandler(async () => { + return await TeamModel.find() +})