Fixed problem with projectId definition in signals
This commit is contained in:
parent
9144606b08
commit
fd0d57cd7b
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ class EventQueue():
|
|||
|
||||
def force_flush(self):
|
||||
if not self.events.empty():
|
||||
with pg_client.PostgreClient() as conn:
|
||||
with pg_client.PostgresClient() as conn:
|
||||
self.flush(conn)
|
||||
|
||||
def put(self, element):
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ def get_all_notes(projectId: int, data: schemas.SearchNoteSchema = Body(...),
|
|||
|
||||
|
||||
@app.post('/{projectId}/signals', tags=['signals'])
|
||||
def send_interactions(data: schemas_ee.SignalsSchema = Body(...),
|
||||
def send_interactions(projectId:int, data: schemas_ee.SignalsSchema = Body(...),
|
||||
context: schemas.CurrentContext = Depends(OR_context)):
|
||||
data = signals.handle_frontend_signals(project_id=projectId, user_id=context.user_id, data=data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue