Skip to content

Commit

Permalink
chore: add PR link to ts-expect-error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SewerynKras committed May 29, 2024
1 parent a7f3726 commit 22a29e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/yagna/adapters/network-api-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class NetworkApiAdapter implements INetworkApi {
async createNetwork(options: { id: string; ip: string; mask?: string; gateway?: string }): Promise<Network> {
try {
const { id, ip, mask, gateway } = await this.yagnaApi.net.createNetwork(options);
// @ts-expect-error TODO: Can we create a network without an id or is this just a bug in ya-clinet spec?
// @ts-expect-error TODO: Remove when this PR is merged: https://github.com/golemfactory/ya-client/pull/179
return new Network(id, ip, mask, gateway);
} catch (error) {
const message = getMessageFromApiError(error);
Expand Down

0 comments on commit 22a29e9

Please sign in to comment.