0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed typo in the {{recommendations}} helper (#18468)

refs https://github.com/TryGhost/Product/issues/3940
This commit is contained in:
Sag 2023-10-04 09:25:27 -03:00 committed by GitHub
parent 89a3774983
commit 506488df11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ async function fetchRecommendations(apiOptions) {
*/
function parseOptions(options) {
let limit = options.limit ?? 5;
let order = options.order ?? 'createdAt desc';
let order = options.order ?? 'created_at desc';
let filter = options.filter ?? '';
let page = options.page ?? 1;