main
|
Last change
on this file since b69759d was b69759d, checked in by Tome <gjorgievtome@…>, 7 months ago |
|
add telefunctions
|
-
Property mode
set to
100644
|
|
File size:
377 bytes
|
| Rev | Line | |
|---|
| [b69759d] | 1 | import * as drizzleQueries from "../../database/drizzle/queries";
|
|---|
| 2 | import { ctx } from "../../server/telefunc/ctx";
|
|---|
| 3 |
|
|---|
| 4 | export async function getApprovedBuildCards( { limit }
|
|---|
| 5 | : { limit?: number }) {
|
|---|
| 6 | const context = ctx();
|
|---|
| 7 |
|
|---|
| 8 | const approvedBuilds = await drizzleQueries.getApprovedBuilds(context.db, limit);
|
|---|
| 9 |
|
|---|
| 10 | return approvedBuilds;
|
|---|
| 11 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.