diff --git a/backend/api/src/get-profiles.ts b/backend/api/src/get-profiles.ts index a09b8871..c4ff4fbb 100644 --- a/backend/api/src/get-profiles.ts +++ b/backend/api/src/get-profiles.ts @@ -43,7 +43,7 @@ export const loadProfiles = async (props: profileQueryType) => { is_smoker, geodbCityIds, compatibleWithUserId, - orderBy: orderByParam, + orderBy: orderByParam = 'created_time', skipId, } = props