mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
bruh
This commit is contained in:
parent
962a5213f7
commit
9aeffce5df
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue