Skip to content

Commit fd2f2dd

Browse files
committed
Update response to follow JSON standards
1 parent 5ad2db7 commit fd2f2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataTableResponder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,6 @@ public function respond()
213213

214214
$disallowOrderingBy = $this->disallowOrderingBy();
215215

216-
return DataTableResponse::success($results, compact('disallowOrderingBy'))->json();
216+
return DataTableResponse::success($results, ['disallow_ordering_by' => $disallowOrderingBy])->json();
217217
}
218218
}

0 commit comments

Comments
 (0)