Bookmark queries scoped to user or collective

This commit is contained in:
eikek
2022-01-08 19:31:26 +01:00
parent f914aa723e
commit a50a0a9a1a
14 changed files with 767 additions and 7 deletions

View File

@ -53,7 +53,7 @@ object ClientSettingsRoutes {
data <- backend.clientSettings.loadUser(clientId, user.account)
res <- data match {
case Some(d) => Ok(d.settingsData)
case None => NotFound()
case None => Ok(Map.empty[String, String])
}
} yield res
@ -80,7 +80,7 @@ object ClientSettingsRoutes {
data <- backend.clientSettings.loadCollective(clientId, user.account)
res <- data match {
case Some(d) => Ok(d.settingsData)
case None => NotFound()
case None => Ok(Map.empty[String, String])
}
} yield res