Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
richan-fongdasen authored Apr 16, 2024
1 parent 13e3f9a commit 562a494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Run the sync script programmatically using the following code:
use Illuminate\Support\Facades\DB;
use RichanFongdasen\Turso\Facades\Turso;

if ( DB::hasUpdated() ) {
if ( DB::connection('turso')->hasUpdated() ) {
// Run the sync script immediately
Turso::sync();

Expand Down

0 comments on commit 562a494

Please sign in to comment.