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 ee68542 commit efc38b9Copy full SHA for efc38b9
1 file changed
src/resources/plans/plans.ts
@@ -3,6 +3,7 @@ import { APIResource } from '../../resource';
3
4
export class Plans extends APIResource {
5
retrieve(plan: PlanCode, options?: Core.RequestOptions): Core.APIPromise<Plan> {
6
+ Core.ensurePresent(plan);
7
return this._client.get(`/plans/${plan}`, options);
8
}
9
0 commit comments