(opts: SessionQueryOpts = {})
| 137 | |
| 138 | // Sessions |
| 139 | async getSessions(opts: SessionQueryOpts = {}): Promise<SessionListResult> { |
| 140 | const query = this.buildQueryString(opts); |
| 141 | return this.fetch<SessionListResult>(`/dashboard/sessions${query}`); |
| 142 | } |
| 143 | |
| 144 | async getSession(id: string): Promise<SessionDetail> { |
| 145 | return this.fetch<SessionDetail>(`/dashboard/sessions/${id}`); |
no test coverage detected