Skip to content

Commit

Permalink
chore: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
negezor committed Jan 9, 2024
1 parent 1df38ae commit 8cfac86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vk-io/src/updates/transports/polling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class PollingTransport {
? server
: `https://${server}`;

this.url = new URL(pollingURL!);
this.url = new URL(pollingURL);
this.url.search = String(new URLSearchParams({
key,
act: 'a_check',
Expand Down
2 changes: 1 addition & 1 deletion packages/vk-io/src/updates/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ export class Updates {

...this.options,

pollingGroupId: group.id!,
pollingGroupId: group.id,
});

this.options.pollingGroupId = group.id!;
Expand Down
2 changes: 1 addition & 1 deletion packages/vk-io/src/utils/resource-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const resolveSlugResource = async (
}

return {
id: response.object_id!,
id: response.object_id,
type: response.type as IResolvedTargetResource['type'],
};
};
Expand Down

0 comments on commit 8cfac86

Please sign in to comment.