Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit f32d398

Browse files
committed
Minor code cleanups
1 parent 3c31820 commit f32d398

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Api/OneDriveGraphApi.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ protected async Task<OneDriveAccessToken> GetAccessTokenFromAuthorizationToken(s
122122
/// Gets an access token from the provided refresh token using the default scopes defined in DefaultScopes
123123
/// </summary>
124124
/// <param name="refreshToken">Refresh token</param>
125-
/// <param name="scopes">Scopes to request access for</param>
126125
/// <returns>Access token for the Graph API</returns>
127126
/// <exception cref="Exceptions.TokenRetrievalFailedException">Thrown when unable to retrieve a valid access token</exception>
128127
protected override async Task<OneDriveAccessToken> GetAccessTokenFromRefreshToken(string refreshToken)
@@ -457,7 +456,7 @@ public async Task<OneDriveCollectionResponse<OneDrivePermission>> ListPermission
457456
/// <summary>
458457
/// Lists all permissions on a OneDrive item
459458
/// </summary>
460-
/// <param name="itemPath">The OneDrive item to retrieve the permissions of</param>
459+
/// <param name="item">The OneDrive item to retrieve the permissions of</param>
461460
/// <returns>Collection with OneDrivePermission objects which indicate the permissions on the item</returns>
462461
public async Task<OneDriveCollectionResponse<OneDrivePermission>> ListPermissions(OneDriveItem item)
463462
{
@@ -1028,6 +1027,7 @@ protected async Task<OneDriveUploadSession> CreateResumableUploadSessionInternal
10281027
/// <summary>
10291028
/// Uploads a file to OneDrive using the resumable file upload method
10301029
/// </summary>
1030+
/// <param name="fileStream">Stream with the content to upload</param>
10311031
/// <param name="oneDriveUploadSession">Upload session under which the upload will be performed</param>
10321032
/// <param name="fragmentSizeInBytes">Size in bytes of the fragments to use for uploading. Higher numbers are faster but require more stable connections, lower numbers are slower but work better with unstable connections.</param>
10331033
/// <returns>OneDriveItem instance representing the uploaded item</returns>
@@ -1166,7 +1166,6 @@ public virtual async Task<SharePointSite> GetSiteByPath(string hostname, string
11661166
/// <summary>
11671167
/// Gets a SharePoint site belonging to a group
11681168
/// </summary>
1169-
/// <param name="hostname"></param>
11701169
/// <param name="groupId">Unique identifier of group to retrieve the associated SharePoint site for</param>
11711170
/// <returns>SharePointSite instance containing the details of the requested site in SharePoint</returns>
11721171
public virtual async Task<SharePointSite> GetSiteByGroupId(string groupId)

0 commit comments

Comments
 (0)