Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 9561 | Rev 9563 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 9561 Rev 9562
Línea 728... Línea 728...
728
                        } catch(\Throwable $e) {
728
                        } catch(\Throwable $e) {
729
                            error_log($e->getTraceAsString());
729
                            error_log($e->getTraceAsString());
730
                        }
730
                        }
731
                    }
731
                    }
Línea 732... Línea -...
732
                    
-
 
-
 
732
                    
-
 
733
                    return new JsonModel([
-
 
734
                        'success' => false,
-
 
735
                        'data' => 'ERROR_UNAUTHssssORIZED'
733
                   
736
                    ]);
734
                    $response = [
737
                    $response = [
735
                        'success'   => true,
738
                        'success'   => true,
736
                        'data'   => $this->renderFeed($feed->id)
739
                        'data'   => $this->renderFeed($feed->id)
Línea 968... Línea 971...
968
     * @param Company $company
971
     * @param Company $company
969
     * @return array
972
     * @return array
970
     */
973
     */
971
    private function renderFeed($feed_id)
974
    private function renderFeed($feed_id)
972
    {
975
    {
973
        return 'hola';
-
 
-
 
976
        
974
        $sandbox = $this->config['leaderslinked.runmode.sandbox'];
977
        $sandbox = $this->config['leaderslinked.runmode.sandbox'];
975
        if($sandbox) {
978
        if($sandbox) {
976
            $company_profile_url = $this->config['leaderslinked.frontend.sandbox_company_profile'];
979
            $company_profile_url = $this->config['leaderslinked.frontend.sandbox_company_profile'];
977
            $user_profile_url = $this->config['leaderslinked.frontend.sandbox_user_profile'];
980
            $user_profile_url = $this->config['leaderslinked.frontend.sandbox_user_profile'];