Skip to content

Commit a4c95dc

Browse files
committed
change the location of is_a_following_b method.
1 parent 4c3f3df commit a4c95dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Tweetalyst/API/Follow.pm

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ use namespace::autoclean;
44

55
with 'Tweetalyst::API::WithDBIC';
66

7-
__PACKAGE__->meta->make_immutable();
8-
97
sub is_a_following_b {
108
my ($self, $a, $b) = @_;
119
return $self->resultset->search( { source => $a, destination => $b } )->count;
1210
}
11+
12+
__PACKAGE__->meta->make_immutable();
13+
1314
1;

0 commit comments

Comments
 (0)