You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/WriteFreely/WFClient.swift
+15-16Lines changed: 15 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -327,40 +327,39 @@ public class WFClient {
327
327
/// - Parameters:
328
328
/// - token: The access token for the user moving the post to a collection.
329
329
/// - postId: The ID of the post to add to the collection.
330
-
/// - modifyToken: The post's modify token; required if the post doesn't belong to the requesting user.
331
-
/// - collectionAlias: The alias of the collection to which the post should be added.
330
+
/// - modifyToken: The post's modify token; required if the post doesn't belong to the requesting user. If `collectionAlias` is `nil`, do not include a `modifyToken`.
331
+
/// - collectionAlias: The alias of the collection to which the post should be added; if `nil`, this removes the post from any collection.
332
332
/// - completion: A handler for the returned `Bool` on success, or `Error` on failure.
0 commit comments