Skip to content

Commit

Permalink
Update Src/VTEX/VTEXWrapper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gitauto-ai[bot] authored Nov 4, 2024
1 parent e9ebb6b commit d7243f4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Src/VTEX/VTEXWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,16 @@ public async Task<string> GetCollectionsAsync(CancellationToken token)
public async Task<string> UpdateCollectionAsync(int id, string data, CancellationToken token)
{

Check notice on line 394 in Src/VTEX/VTEXWrapper.cs

View check run for this annotation

codefactor.io / CodeFactor

Src/VTEX/VTEXWrapper.cs#L394

An opening brace should not be followed by a blank line. (SA1505)

/// <summary>
/// Deletes a collection.
/// </summary>
/// <param name="id">The identifier of the collection to be deleted.</param>
/// <param name="token">A cancellation token to observe while waiting for the task to complete.</param>
/// <returns>A task that represents the asynchronous operation, containing the response as a string.</returns>
public async Task<string> DeleteCollectionAsync(int id, CancellationToken token)

Check failure on line 402 in Src/VTEX/VTEXWrapper.cs

View workflow job for this annotation

GitHub Actions / Deep Source Coverage report

The modifier 'public' is not valid for this item

Check failure on line 402 in Src/VTEX/VTEXWrapper.cs

View workflow job for this annotation

GitHub Actions / Deep Source Coverage report

The modifier 'public' is not valid for this item
{
return await ServiceInvokerAsync(HttpRequestMethod.DELETE, $"collections/{id}", token);

/// <summary>
/// Creates a new collection.
/// </summary>
Expand Down

0 comments on commit d7243f4

Please sign in to comment.