Skip to content

Commit e10c7cb

Browse files
author
Max Burnette
committed
downloadfolder comment
1 parent 4c35843 commit e10c7cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/api/Datasets.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,6 +2469,7 @@ class Datasets @Inject()(
24692469
}
24702470
}
24712471

2472+
// Takes dataset ID and a folder ID in that dataset and streams just that folder and sub-folders as a zip
24722473
def downloadFolder(id: UUID, folderId: UUID) = PermissionAction(Permission.DownloadFiles, Some(ResourceRef(ResourceRef.dataset, id))) { implicit request =>
24732474
implicit val user = request.user
24742475
datasets.get(id) match {

0 commit comments

Comments
 (0)