From 8da031f5dd2aba812f954fb5379a07b381e6f880 Mon Sep 17 00:00:00 2001 From: Brian O'Donnell Date: Mon, 20 Apr 2015 09:58:02 -0400 Subject: [PATCH] Added single quotes around hash key for status_message[provider_display_name] --- pod_feeder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod_feeder.pl b/pod_feeder.pl index e4f89d6..f05ae9c 100755 --- a/pod_feeder.pl +++ b/pod_feeder.pl @@ -376,7 +376,7 @@ sub post_message { if( $get_stream ){ my $csrf = extract_token( $result ); my $post_url = "$base_url/status_messages"; - my $message = { status_message => { text => format_content( $content ) }, aspect_ids => $aspect_ids, status_message[provider_display_name] => 'https://github.com/rev138/pod_feeder' }; + my $message = { status_message => { text => format_content( $content ) }, aspect_ids => $aspect_ids, 'status_message[provider_display_name]' => 'https://github.com/rev138/pod_feeder' }; my $json = JSON->new->allow_nonref; $json = $json->utf8(0) unless utf8::is_utf8( $message );