Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2782cfa

Browse files
Update user-agent
1 parent c22c61f commit 2782cfa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎MessageMediaWebhooks.PCL/Controllers/APIController.cs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public async Task<dynamic> CreateAsync(string contentType, Models.CreateRequest
166166
//append request with appropriate headers and parameters
167167
var _headers = new Dictionary<string,string>()
168168
{
169-
{ "user-agent", "messagesmedia-webhooks" },
169+
{ "user-agent", "messagemedia-webhooks-csharp-sdk-1.0.0" },
170170
{ "accept", "application/json" },
171171
{ "content-type", "application/json; charset=utf-8" },
172172
{ "Content-Type", contentType }
@@ -345,15 +345,15 @@ public Models.RetrieveResponse Retrieve(int? page = null, int? pageSize = null)
345345
}
346346

347347
/// <summary>
348-
/// This will update a webhook and returned the updated Webhook.
348+
/// This will update a webhook and returned the updated Webhook.
349349
/// you can update all the attributes individually or together.
350350
/// PS : the new value will override the previous one.
351351
/// ### Parameters
352352
/// + same parameters rules as create webhook apply
353353
/// a **Response 404 is returned when** :
354354
/// <ul>
355355
/// <li>there is no webhook with this `webhookId` </li>
356-
/// </ul>
356+
/// </ul>
357357
/// a **Response 400 is returned when** :
358358
/// <ul>
359359
/// <li>all attributes are null </li>
@@ -372,15 +372,15 @@ public void Update(Guid webhookId, string contentType, Models.UpdateRequest body
372372
}
373373

374374
/// <summary>
375-
/// This will update a webhook and returned the updated Webhook.
375+
/// This will update a webhook and returned the updated Webhook.
376376
/// you can update all the attributes individually or together.
377377
/// PS : the new value will override the previous one.
378378
/// ### Parameters
379379
/// + same parameters rules as create webhook apply
380380
/// a **Response 404 is returned when** :
381381
/// <ul>
382382
/// <li>there is no webhook with this `webhookId` </li>
383-
/// </ul>
383+
/// </ul>
384384
/// a **Response 400 is returned when** :
385385
/// <ul>
386386
/// <li>all attributes are null </li>
@@ -439,4 +439,4 @@ public async Task UpdateAsync(Guid webhookId, string contentType, Models.UpdateR
439439
}
440440

441441
}
442-
}
442+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /