Commit dc2304d4 authored by Andrea Ruggiero's avatar Andrea Ruggiero
Browse files

Update UserRepository.php

parent 29ab8f80
Pipeline #1392 failed with stage
in 1 minute and 12 seconds
......@@ -5,10 +5,10 @@ namespace App\Repositories;
class UserRepository extends BaseRepository
{
protected $table = 'users';
protected $table = 'utenti';
public function getByNumber($number) {
return $this->db->where('number', $number)->first();
return $this->db->where('id_utente', $number)->first();
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment