summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Ultramarine/Controller.pm68
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Ultramarine/Controller.pm6 b/lib/Ultramarine/Controller.pm6
index e864b00..208a50b 100644
--- a/lib/Ultramarine/Controller.pm6
+++ b/lib/Ultramarine/Controller.pm6
@@ -42,7 +42,7 @@ class Ultramarine::Controller {
}
}
- submethod inner-routes() {
+ method inner-routes() {
return route {
# this needs to be here, not in the Server because its
# short-circuited "unauthorised" response will be emited
@@ -55,7 +55,7 @@ class Ultramarine::Controller {
post -> 'getLicense' {
respond [
:status<ok>,
- license => [ |%($!license.status) ],
+ license => [ |%($.license.status) ],
],
}
post -> 'getMusicFolders' {
@@ -68,10 +68,10 @@ class Ultramarine::Controller {
}
# this is clearly not a Subsonic method
post -> 'dakkarList' {
- await $!collection.is-ready;
+ await $.collection.is-ready;
respond [
:status<ok>,
- songs => $!collection.all-songs,
+ songs => $.collection.all-songs,
];
}
}