Skip to content

Commit

Permalink
[IM] do not log router updates via API - handle was just for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Feb 9, 2024
1 parent 07fcafd commit a6cc783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ public static function logSubject( Model $model ): string
public function observerSkipUpdateLogging( array $changes ): bool {

$interesting = array_filter( array_keys($changes), function( $v ) {
return !in_array( $v, [ 'last_updated', 'updated_at', 'last_update_started', 'handle' ] );
return !in_array( $v, [ 'last_updated', 'updated_at', 'last_update_started' ] );
} );

return count( $interesting ) === 0;
Expand Down

0 comments on commit a6cc783

Please sign in to comment.