Changeset 59f8f5a for pages


Ignore:
Timestamp:
12/24/25 23:41:42 (7 months ago)
Author:
Tome <gjorgievtome@…>
Branches:
main
Children:
2c6d75a
Parents:
3fca46c
Message:

update getApprovedBuilds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/+Layout.telefunc.ts

    r3fca46c r59f8f5a  
    4343}
    4444
    45 export async function onGetApprovedBuilds({ limit, q }
    46                                                  : { limit?: number; q?: string }) {
     45export async function onGetApprovedBuilds({ limit, sort, q }
     46                                                 : { limit?: number; sort: string; q?: string }) {
    4747    const context = ctx();
    4848
    49     const approvedBuilds = await drizzleQueries.getApprovedBuilds(context.db, limit, q);
     49    const approvedBuilds = await drizzleQueries.getApprovedBuilds(context.db, limit, sort, q);
    5050
    5151    return approvedBuilds;
Note: See TracChangeset for help on using the changeset viewer.