removed server id fully
This commit is contained in:
@@ -3,7 +3,7 @@ from fastapi.responses import JSONResponse, FileResponse
|
||||
from fastapi.security import HTTPBasic, HTTPBasicCredentials
|
||||
from .auth import init_db, verify_api_key, get_db
|
||||
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 os
|
||||
import secrets
|
||||
|
||||
@@ -4,7 +4,6 @@ from typing import Any, List, Optional
|
||||
class Event(BaseModel):
|
||||
type: str
|
||||
time: int
|
||||
serverId: str
|
||||
data: Optional[dict] = {}
|
||||
|
||||
class BatchEvents(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user