Skip to content

Commit cb31776

Browse files
remove warnings
1 parent afaff41 commit cb31776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/SPService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export default class SPService implements ISPService {
597597
}
598598
}
599599

600-
public async getUserUPNFromFieldValue(listId: string, listItemId: number, fieldName: string, webUrl?: string): Promise<any> {
600+
public async getUserUPNFromFieldValue(listId: string, listItemId: number, fieldName: string, webUrl?: string): Promise<any> { // eslint-disable-line @typescript-eslint/no-explicit-any
601601
try {
602602
const webAbsoluteUrl = !webUrl ? this._context.pageContext.web.absoluteUrl : webUrl;
603603
const apiUrl = `${webAbsoluteUrl}/_api/web/lists(@listId)/items(${listItemId})?@listId=guid'${encodeURIComponent(listId)}'&$select=${fieldName}/Title,${fieldName}/Id,${fieldName}/Name&$expand=${fieldName}`;
@@ -682,7 +682,7 @@ export default class SPService implements ISPService {
682682
return result;
683683
}
684684

685-
public async getRegionalWebSettings(webUrl?: string): Promise<any> {
685+
public async getRegionalWebSettings(webUrl?: string): Promise<any> { // eslint-disable-line @typescript-eslint/no-explicit-any
686686
const webAbsoluteUrl = !webUrl ? this._context.pageContext.web.absoluteUrl : webUrl;
687687
const apiRequestPath = "/_api/web/regionalsettings";
688688

0 commit comments

Comments
 (0)