Skip to content

Commit

Permalink
fix usage of this property
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored Aug 23, 2024
1 parent 6034e6d commit 684b1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Client {
this.#logger = logger!;
this.#fetch = fetch;

if (!validator.isURL(this.source)) {
if (!validator.isURL(this.#source)) {
throw new Error("The provided URL is invalid.");
}
}
Expand Down

0 comments on commit 684b1e7

Please sign in to comment.