Fixed retrieve user by email
This commit is contained in:
@@ -20,6 +20,16 @@ class Respondent extends Model
|
||||
'deleted_at'
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'handphone',
|
||||
'email',
|
||||
'gender',
|
||||
'occupation',
|
||||
'birthdate',
|
||||
'category_id'
|
||||
];
|
||||
|
||||
public function category()
|
||||
{
|
||||
return $this->belongsTo(Category::class);
|
||||
|
||||
Reference in New Issue
Block a user