feat(backend): added projectID to mobile session start responce

This commit is contained in:
Alexander 2024-03-01 16:42:49 +01:00
parent 7c2db1d67c
commit 68d4090e15
2 changed files with 2 additions and 0 deletions

View file

@ -147,6 +147,7 @@ func (e *Router) startSessionHandlerIOS(w http.ResponseWriter, r *http.Request)
BeaconSizeLimit: e.cfg.BeaconSizeLimit,
ImageQuality: e.cfg.MobileQuality,
FrameRate: e.cfg.MobileFps,
ProjectID: strconv.FormatUint(uint64(p.ProjectID), 10),
}, startTime, r.URL.Path, 0)
}

View file

@ -69,4 +69,5 @@ type StartIOSSessionResponse struct {
SessionID string `json:"sessionID"`
ImageQuality string `json:"quality"`
FrameRate int `json:"fps"`
ProjectID string `json:"projectID"`
}