Skip to content

Dosen´t refresh the collection when I ban a user #80

@olkotz

Description

@olkotz

Hi everyone! Excelent work with the package!!!

I have found in one of my tests that the variable that contained the user model instance was not updated after applying the ban() function to it.

Example:
$user = User::find($id);
$user->ban();
if i look into the $user dosen´t have updated the field banned_at.

I think this should not be the case and should be updated.
Hope this helps!

Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions