$self->render(# text => $status->{text} ,
status => $status->{status} ,
json => $status->{json} ? $status->{json} : {}
);
sends back
{} as we expect.
On Wed, Mar 15, 2017 at 2:08 PM, Rob Willett <
[email protected]> wrote:
> Wow that was quick :)
>
> So is the solution simply removing
>
> text => $status->{text}
>
> from our response?
>
> We have tried removing the text field and it does *seem* to make iu work,
> but I recall (place no value on my recollection) that the text field was
> needed. For the life of me I cannot remember why though as we wrote this
> code over a year ago.
>
> Rob
>
> On Wed, Mar 15, 2017 at 2:05 PM, sri <[email protected]> wrote:
>
>> I remember this change.
>>
>> https://github.com/kraih/mojo/commit/dc8b5d0f0bdaabb4957db
>> 5a7f54d14514b460f37
>>
>> The "text" stash value got precedence over "json", how exactly they are
>> supposed to behave
>> when used together is undefined however. So don't depend on it.
>>
>> --
>> sebastian
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Mojolicious" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/mojolicious.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.