Added single quotes around hash key for status_message[provider_display_name]
This commit is contained in:
+1
-1
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user