randydev commited on
Commit
3707524
1 Parent(s): 28c21ce

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -611,9 +611,9 @@ def v1beta2_google_ai(
611
 
612
  @app.post("/ryuzaki/new-monitor")
613
  def new_monitor(
614
- url: str,
615
  type: int=1,
616
- friendly_name: str,
 
617
  api_key: None = Depends(validate_api_key)
618
  ):
619
  url = SOURCE_MONITOR_URL
 
611
 
612
  @app.post("/ryuzaki/new-monitor")
613
  def new_monitor(
 
614
  type: int=1,
615
+ url: str=None,
616
+ friendly_name: str=None,
617
  api_key: None = Depends(validate_api_key)
618
  ):
619
  url = SOURCE_MONITOR_URL