We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39de6a7 commit b3367e6Copy full SHA for b3367e6
src/model/Subscription.ts
@@ -3,7 +3,6 @@ import isUrl from "is-url";
3
import { authenticatedRequest } from "../api";
4
import { getConfig } from "../config";
5
6
-import { Account } from "./Account";
7
import type {
8
MaybeComplexFormattedCost,
9
MaybeComplexFormattedCostCounter,
@@ -465,20 +464,6 @@ export class Subscription extends Ressource {
465
464
return this.status;
466
}
467
468
- /**
469
- * Get the account for the project's owner.
470
- *
471
- * @return Account|false
472
- */
473
- async getOwner() {
474
- const id = this.owner;
475
-
476
- return Account.get(
477
- { id },
478
- this.makeAbsoluteUrl("/api/users", this.getLink("project"))
479
- );
480
- }
481
482
/**
483
* Get the project associated with this subscription.
484
*
0 commit comments