slug null content answers, just code
This commit is contained in:
parent
124439ee3c
commit
ba0f803f2d
|
@ -331,7 +331,7 @@ class PollController extends FramadateController {
|
||||||
|
|
||||||
if ( $found ) {
|
if ( $found ) {
|
||||||
if ( ! $elaborated_message_version ) {
|
if ( ! $elaborated_message_version ) {
|
||||||
return $this->json( 'no-content',
|
return $this->json( null,
|
||||||
204 );
|
204 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -345,7 +345,7 @@ class PollController extends FramadateController {
|
||||||
204 );
|
204 );
|
||||||
}
|
}
|
||||||
if ( ! $elaborated_message_version ) {
|
if ( ! $elaborated_message_version ) {
|
||||||
return $this->json( 'NOT_found',
|
return $this->json( null,
|
||||||
404 );
|
404 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue