removed server id fully

This commit is contained in:
2026-04-27 23:18:21 +02:00
parent 4822b83069
commit e441a22fc8
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ from fastapi.responses import JSONResponse, FileResponse
from fastapi.security import HTTPBasic, HTTPBasicCredentials from fastapi.security import HTTPBasic, HTTPBasicCredentials
from .auth import init_db, verify_api_key, get_db from .auth import init_db, verify_api_key, get_db
from .models import Event, BatchEvents from .models import Event, BatchEvents
from .influx import write_event, client, INFLUX_ORG, INFLUX_BUCKET from .influx import write_ev3t, client, INFLUX_ORG, INFLUX_BUCKET
import logging import logging
import os import os
import secrets import secrets

View File

@@ -4,7 +4,6 @@ from typing import Any, List, Optional
class Event(BaseModel): class Event(BaseModel):
type: str type: str
time: int time: int
serverId: str
data: Optional[dict] = {} data: Optional[dict] = {}
class BatchEvents(BaseModel): class BatchEvents(BaseModel):