Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
erdoganoksuz
2021-03-12 15:14:17 +03:00
parent 9ca0e40094
commit 196d8ec327
8 changed files with 40 additions and 34 deletions
+3 -4
View File
@@ -125,10 +125,9 @@ export class LighthouseRestApi implements LighthouseApi {
return await resp.json();
}
async getWebsiteList({
limit,
offset,
}: LASListRequest = {}): Promise<WebsiteListResponse> {
async getWebsiteList({ limit, offset }: LASListRequest = {}): Promise<
WebsiteListResponse
> {
const params = new URLSearchParams();
if (typeof limit === 'number') params.append('limit', limit.toString());
if (typeof offset === 'number') params.append('offset', offset.toString());