Fix some breaking changes that is already deployed to master branch

This commit is contained in:
Dillon Ngo
2024-08-07 07:23:45 +08:00
parent 32833064b3
commit 039d8deeea
@@ -28,7 +28,7 @@ class CanUpdateBankMetadata extends AbstractRule
/**
* @return bool
*/
protected function authorized(): bool
protected function authorized($object): bool
{
//cief todo: 66 - temporary workaround
// if (!Auth::user()->can('update bank_metadata')) {