Api v1.14.0 (#1404)
* feature(chalice): include sample_rate in get projects response
This commit is contained in:
parent
440ebca03b
commit
09d16bee10
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def get_projects(tenant_id: int, gdpr: bool = False, recorded: bool = False, use
|
|||
|
||||
query = cur.mogrify(f"""{"SELECT *, first_recorded IS NOT NULL AS recorded FROM (" if recorded else ""}
|
||||
SELECT s.project_id, s.name, s.project_key, s.save_request_payloads, s.first_recorded_session_at,
|
||||
created_at, sessions_last_check_at {extra_projection}
|
||||
created_at, sessions_last_check_at, sample_rate {extra_projection}
|
||||
FROM public.projects AS s
|
||||
{role_query if user_id is not None else ""}
|
||||
WHERE s.tenant_id =%(tenant_id)s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue