bruh
This commit is contained in:
parent
e8ccd62a27
commit
9d53e8322a
@ -1,6 +1,6 @@
|
|||||||
import { Brackets } from 'typeorm';
|
import { Brackets } from 'typeorm';
|
||||||
import { fetchMeta } from '@/misc/fetch-meta.js';
|
import { fetchMeta } from '@/misc/fetch-meta.js';
|
||||||
import { Meta, Notes } from '@/models/index.js';
|
import { Metas, Notes } from '@/models/index.js';
|
||||||
import { activeUsersChart } from '@/services/chart/index.js';
|
import { activeUsersChart } from '@/services/chart/index.js';
|
||||||
import define from '../../define.js';
|
import define from '../../define.js';
|
||||||
import { ApiError } from '../../error.js';
|
import { ApiError } from '../../error.js';
|
||||||
@ -64,7 +64,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//#region Construct query
|
//#region Construct query
|
||||||
const recommendedInstancesQuery = Meta.createQueryBuilder('meta')
|
const recommendedInstancesQuery = Metas.createQueryBuilder('meta')
|
||||||
.select('meta.recommendedInstances');
|
.select('meta.recommendedInstances');
|
||||||
|
|
||||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
||||||
|
Loading…
Reference in New Issue
Block a user