From 2c9f4094dd16e227ff51021085b33491110d4604 Mon Sep 17 00:00:00 2001 From: Julie Turner Date: Tue, 5 Apr 2022 19:56:30 +0000 Subject: [PATCH] Fix accidental update --- docs/concepts/authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/authentication.md b/docs/concepts/authentication.md index 2a62e44c0..3c4f4b6c9 100644 --- a/docs/concepts/authentication.md +++ b/docs/concepts/authentication.md @@ -48,7 +48,7 @@ import { SPFx, spfi } from "@pnp/sp"; import "@pnp/sp/webs"; // within a webpart, application customizer, or adaptive card extension where the context object is available -const sp = spfi(...); +const sp = spfi().using(SPFx(this.context)); const webData = await sp.web(); ```