Skip to content

Commit 2ba6fe3

Browse files
Deprecated UpdatePropertiesAsync API 🗑️
1 parent b055cad commit 2ba6fe3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Src/Notion.Client/Api/Pages/PagesClient.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23
using System.Threading.Tasks;
34
using static Notion.Client.ApiEndpoints;
45

@@ -32,6 +33,7 @@ public async Task<Page> UpdateAsync(string pageId, PagesUpdateParameters pagesUp
3233
return await _client.PatchAsync<Page>(url, body);
3334
}
3435

36+
[Obsolete("This method is obsolute. Use UpdateAsync instead. This API will be removed in future release")]
3537
public async Task<Page> UpdatePropertiesAsync(
3638
string pageId,
3739
IDictionary<string, PropertyValue> updatedProperties)

0 commit comments

Comments
 (0)