push notificaitons
This commit is contained in:
@@ -2,7 +2,6 @@ import express from "express";
|
||||
import {
|
||||
Controller,
|
||||
Get,
|
||||
Post,
|
||||
Request,
|
||||
Route,
|
||||
Security,
|
||||
@@ -17,13 +16,6 @@ import { KC_SECURITY_NAME } from "../services/keycloak/user/keycloak-user.js";
|
||||
export class FoundEventsController extends Controller {
|
||||
private readonly foundEventsService = inject(FoundEventsService);
|
||||
|
||||
@Post("crawl")
|
||||
@Security(KC_SECURITY_NAME)
|
||||
@SuccessResponse("200", "OK")
|
||||
public async crawl(): Promise<void> {
|
||||
await this.foundEventsService.crawl();
|
||||
}
|
||||
|
||||
@Get("future")
|
||||
@Security(KC_SECURITY_NAME)
|
||||
@SuccessResponse("200", "OK")
|
||||
|
||||
Reference in New Issue
Block a user