Skip to content

Commit

Permalink
Merge pull request #3013 from bcameron1231/v4-hotfix
Browse files Browse the repository at this point in the history
Fix - Missing Context  on NullUndefined Check
  • Loading branch information
patrick-rodgers authored Apr 23, 2024
2 parents e26b1b5 + 035b63a commit c66ae95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graph/behaviors/spfx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SPFxTokenNullOrUndefinedError extends Error {

export function SPFxToken(context: ISPFXContext): TimelinePipe<Queryable> {

SPFxTokenNullOrUndefinedError.check("SPFxToken");
SPFxTokenNullOrUndefinedError.check("SPFxToken", context);

return (instance: Queryable) => {

Expand All @@ -47,7 +47,7 @@ export function SPFxToken(context: ISPFXContext): TimelinePipe<Queryable> {

export function SPFx(context: ISPFXContext): TimelinePipe<Queryable> {

SPFxTokenNullOrUndefinedError.check("SPFx");
SPFxTokenNullOrUndefinedError.check("SPFx", context);

return (instance: Queryable) => {

Expand Down

0 comments on commit c66ae95

Please sign in to comment.