This commit is contained in:
toni
2026-03-09 20:40:53 +01:00
parent 10f4750755
commit 71ca4d81e1
17 changed files with 2157 additions and 7 deletions
@@ -0,0 +1,15 @@
import { Controller, Post, Route, SuccessResponse } from "tsoa";
import { inject } from "../infrastructure/di/index.js";
import { FoundEventsService } from "../services/foundEvents/foundEventsService.js";
@Route("found-events")
export class FoundEventsController extends Controller {
private readonly foundEventsService = inject(FoundEventsService);
@Post("crawl")
@SuccessResponse("200", "OK")
//TODO add security
public async crawl() {
return await this.foundEventsService.crawl();
}
}