Skip to content

Commit c797d80

Browse files
committed
Correct some comments
1 parent 899073e commit c797d80

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

API.Test/TeachingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void GetNewsFeed()
9595
{
9696
Client.LoginAsync(s_Server, s_LoginName, s_UserName, s_Password).Wait();
9797

98-
Task<News> news = Client.GetNewsFeedAsync(new DateTime(2023, 06, 23));
98+
Task<News> news = Client.GetNewsFeedAsync(new DateTime(2023, 07, 10));
9999
news.Wait();
100100
if (news.Result != null)
101101
Assert.Pass();

WebUntisAPI.Client/Models/Messages/Draft.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class Draft
7171
public List<MessagePerson> Recipients { get; set; } = null;
7272

7373
/// <summary>
74-
/// The full content of the draft
74+
/// The full content of the draft (\n is used for line breaks)
7575
/// </summary>
7676
[JsonProperty("content")]
7777
public string Content { get; set; }

WebUntisAPI.Client/Models/Messages/Message.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private MessagePerson Recipient
8181
}
8282

8383
/// <summary>
84-
/// The full content of the message
84+
/// The full content of the message (\n is used for line breaks)
8585
/// </summary>
8686
[JsonProperty("content")]
8787
public string Content { get; set; } = string.Empty;

WebUntisAPI.Client/Models/NewsMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class NewsMessage
2020
public string Subject { get; set; }
2121

2222
/// <summary>
23-
/// The normal text of the news (<![CDATA[<br>]]> is used for line breaks)
23+
/// The normal text of the news (<![CDATA[<br>]]> or \n is used for line breaks)
2424
/// </summary>
2525
[JsonProperty("text")]
2626
public string Text { get; set; }

0 commit comments

Comments
 (0)