Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
erdoganoksuz
2021-03-12 15:35:25 +03:00
parent 6af831266e
commit b7a061077f
9 changed files with 42 additions and 49 deletions
+4 -3
View File
@@ -125,9 +125,10 @@ 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());