Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support of Editable Shared Link #861

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

arjankowski
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Jun 22, 2022

Coverage Status

Coverage increased (+0.03%) to 88.327% when pulling 99bdb59 on aj/sdk-2034-editable-shared-links into 8ad475c on main.

Copy link

@lukaszsocha2 lukaszsocha2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one question

XCTAssertEqual(createdSharedLink.isPasswordEnabled, true)
XCTAssertEqual(createdSharedLink.vanityName, "iOS-SDK-Folder-VanityName")

// get
let fetchedSharedLink = try await client.folders.getSharedLink(forFolder: folder.id)

XCTAssertEqual(fetchedSharedLink.access, .open)
XCTAssertEqual(fetchedSharedLink.permissions?.canDownload, true)
XCTAssertEqual(createdSharedLink.permissions?.canDownload, true)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here shouldn't we check fetchedSharedLink instead of createdSharedLink ?

@arjankowski arjankowski merged commit bc6ea18 into main Jun 24, 2022
@arjankowski arjankowski deleted the aj/sdk-2034-editable-shared-links branch June 24, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants