Skip to content

Commit 1cc4b65

Browse files
author
Mark Powney
committed
spo-listitem-set correctly obtain requestDigest for the webUrl
1 parent ec5edac commit 1cc4b65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/o365/spo/commands/listitem/listitem-set.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class SpoListItemSetCommand extends SpoCommand {
188188
if (this.debug) {
189189
cmd.log(`getting requets digest for systemUpdate request`);
190190
}
191-
return this.getRequestDigest(cmd, this.debug);
191+
return this.getRequestDigestForSite(args.options.webUrl, siteAccessToken, cmd, this.debug);
192192
}
193193
else {
194194
return Promise.resolve();

0 commit comments

Comments
 (0)