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

fix(dav): davResultToNode real owner #862

Merged
merged 1 commit into from
Jan 9, 2024
Merged

fix(dav): davResultToNode real owner #862

merged 1 commit into from
Jan 9, 2024

Conversation

skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Jan 9, 2024

No description provided.

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3feced0) 77.75% compared to head (255f63b) 77.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #862   +/-   ##
=======================================
  Coverage   77.75%   77.75%           
=======================================
  Files          17       17           
  Lines         436      436           
  Branches      115      116    +1     
=======================================
  Hits          339      339           
  Misses         97       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@skjnldsv skjnldsv merged commit b2105ae into master Jan 9, 2024
15 checks passed
@skjnldsv skjnldsv deleted the fix/owner branch January 9, 2024 12:00
@@ -143,7 +143,7 @@ export const getFavoriteNodes = async (davClient: WebDAVClient, path = '/', davR
export const davResultToNode = function(node: FileStat, filesRoot = davRootPath, remoteURL = davRemoteURL): Node {
const props = node.props as ResponseProps
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add owner-id to ResponseProps as string | undefined? Then you do not need to cast later and it is more clear that it exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants