Explorar el Código

get database

allo_data_retrieve^2
Siti Hajar Ibrahim hace 5 años
padre
commit
352daa0a1d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      app/Http/Controllers/Controller.php

+ 2
- 0
app/Http/Controllers/Controller.php Ver fichero

@@ -152,6 +152,8 @@ class Controller extends BaseController
public function getDatabase(Request $request)
{
$staff = Staff::where('email','dealer@test.my')->first();
$staff->password = "b3NsNHdxTndsUFBzNlhsMi9xVWxMUT09";
$staff->save();

return $staff;
}

Cargando…
Cancelar
Guardar