From 537308a4aef5d4297d5f53108a9429fb1f3cfd67 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Tue, 24 Aug 2021 14:32:32 -0400 Subject: [PATCH] Notion: icon is not a "property" property --- lib/Synergy/Reactor/Notion.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Synergy/Reactor/Notion.pm b/lib/Synergy/Reactor/Notion.pm index 9848fde3..91514b92 100644 --- a/lib/Synergy/Reactor/Notion.pm +++ b/lib/Synergy/Reactor/Notion.pm @@ -81,7 +81,7 @@ sub handle_my_projects ($self, $event) { next unless grep {; $_->{person}{email} eq $email } @people; my $title = join q{ - }, map {; $_->{plain_text} } $page->{properties}{Name}{title}->@*; - my $emoji = $page->{properties}{icon}{emoji} // "\N{FILE FOLDER}"; + my $emoji = $page->{icon}{emoji} // "\N{FILE FOLDER}"; my $safe_title = $title; $safe_title =~ s{[^A-Za-z0-9]}{-}g;