Skip to content

Commit

Permalink
More formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rauboti committed Dec 6, 2023
1 parent d079624 commit ad9e345
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@ trait ReadService {
feideId
)
folderWithContent <- getWith404IfNone(id, Success(folderWithResources))
_ <- if (folderWithContent.isShared || folderWithContent.feideId == feideId.getOrElse(None)) Success(()) else Failure(NotFoundException("Folder does not exist"))
_ <-
if (folderWithContent.isShared || folderWithContent.feideId == feideId.getOrElse(None)) Success(())
else Failure(NotFoundException("Folder does not exist"))
folderAsTopFolder = folderWithContent.copy(parentId = None)
breadcrumbs <- getBreadcrumbs(folderAsTopFolder)
feideUser <- userRepository.userWithFeideId(folderWithContent.feideId)
Expand Down

0 comments on commit ad9e345

Please sign in to comment.