Skip to content

Commit e94255e

Browse files
Update ListItemAttachments.tsx
Add the option to pass an URL of the site.
1 parent 42887cf commit e94255e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/listItemAttachments/ListItemAttachments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class ListItemAttachments extends React.Component<IListItemAttachmentsPro
5151
};
5252

5353
// Get SPService Factory
54-
this._spservice = new SPservice(this.props.context);
54+
this._spservice = new SPservice(this.props.context, this.props.webUrl);
5555
this._utilities = new utilities();
5656
}
5757

0 commit comments

Comments
 (0)