 
   server.on( "/api/getdevice", HTTP_GET, []( AsyncWebServerRequest * request)
   {
-    AsyncResponseStream *response;
+    //AsyncResponseStream *response;
     if ( request->hasArg( "boottime" ) )
     {
       char response[25];


    else if ( request->hasArg( "channelcolors" ) )
    {
      response = request->beginResponseStream( HEADER_HTML );
      for ( uint8_t channelNumber = 0; channelNumber < NUMBER_OF_CHANNELS; channelNumber++ )
      {
        response->printf( "%s\n", channel[channelNumber].color );

      {
        return request->send( 501, HEADER_HTML, NOT_PRESENT_ERROR_501 );
      }
      AsyncResponseStream *response = request->beginResponseStream( HEADER_HTML );
      response->printf( "%i\n%.4f\n", moonData.angle, moonData.percentLit );
      return request->send( response );
    }
