aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2020-05-17 20:25:25 -0300
committerMatias Linares <matiaslina@gmail.com>2020-05-17 20:25:25 -0300
commit4b01ebdcaa8d7df0ec34c758ae9f3b8ec32fdcd0 (patch)
tree850bd8a62e481a4b8beb47f64d98eac5ff7ff946 /scripts
parent4823babb29e8d2c2f65b775e72210aac7a2175c5 (diff)
downloadperl6-matrix-client-4b01ebdcaa8d7df0ec34c758ae9f3b8ec32fdcd0.tar.gz
Fix missing multi methods on the endpoints TODO generator
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/load-docs.p65
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/load-docs.p6 b/scripts/load-docs.p6
index b20dd86..87ef0d4 100755
--- a/scripts/load-docs.p6
+++ b/scripts/load-docs.p6
@@ -34,8 +34,9 @@ sub get-api-docs {
sub MAIN(:$spec?) {
my %tags = get-api-docs;
- my $implemented-methods = (Matrix::Client, Matrix::Client::Room).map(*.^methods)
- .flat.map(
+ my $implemented-methods = (
+ Matrix::Client, Matrix::Client::Room, Matrix::Client::MediaStore
+ ).map(*.^methodsĀ».candidates).flat.map(
{
quietly try { .WHY.Str } or ""
}).grep(/_matrix/).SetHash;