Skip to content

Commit

Permalink
backing out testing main changes
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-rodgers committed Mar 28, 2022
1 parent 6cd50c4 commit bbf98af
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions debug/serve/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { spfi, SPBrowser } from "@pnp/sp";
import "@pnp/sp/webs";
import "@pnp/sp/lists";
import "@pnp/sp/items";
import "@pnp/sp/webs";
import { getRandomString } from "@pnp/core";
// import { graph } from "@pnp/graph/presets/all";

// ******
Expand Down Expand Up @@ -32,9 +28,7 @@ document.onreadystatechange = async () => {

const sp = spfi("https://318studios.sharepoint.com/sites/dev/").using(SPBrowser());

const r = await sp.web.lists.getByTitle("Generic").items.add({
Title: "Added"
});
const r = await sp.web();

html.push(`<textarea cols="200" rows="40">${JSON.stringify(r, null, 4)}</textarea>`);

Expand Down

0 comments on commit bbf98af

Please sign in to comment.