File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ public function __invoke(Request $request)
7171 }
7272
7373 if (method_exists ($ accessToken ->getConnection (), 'hasModifiedRecords ' ) &&
74- method_exists ($ accessToken ->getConnection (), 'recordsHaveBeenModified ' )) {
74+ method_exists ($ accessToken ->getConnection (), 'setRecordModificationState ' )) {
7575 tap ($ accessToken ->getConnection ()->hasModifiedRecords (), function ($ hasModifiedRecords ) use ($ accessToken ) {
7676 $ accessToken ->forceFill (['last_used_at ' => now ()])->save ();
7777
78- $ accessToken ->getConnection ()->recordsHaveBeenModified ($ hasModifiedRecords );
78+ $ accessToken ->getConnection ()->setRecordModificationState ($ hasModifiedRecords );
7979 });
8080 } else {
8181 $ accessToken ->forceFill (['last_used_at ' => now ()])->save ();
You can’t perform that action at this time.
0 commit comments