Skip to content

Commit 8ccd998

Browse files
committed
Fixed #74
1 parent 4576e2a commit 8ccd998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/CanBeFollowed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function followers()
4040
{
4141
$table = config('follow.followable_table');
4242
$class = \get_class($this);
43-
$userTable = config('follow.user_table', 'users');
43+
$userTable = config('follow.users_table_name', 'users');
4444
$foreignKey = config('follow.users_table_foreign_key', 'user_id');
4545
$tablePrefixedForeignKey = app('db.connection')->getQueryGrammar()->wrap(\sprintf('pivot_followables.%s', $foreignKey));
4646
$eachOtherKey = app('db.connection')->getQueryGrammar()->wrap('pivot_each_other');

0 commit comments

Comments
 (0)