X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Faccount-follow-interface.ts;h=a0d620dd0b20cd504453828aa62d22cf33c06282;hb=0032ebe94aa83fab761c7de3ceb6210ac4532824;hp=6f228c790a7d1f1e00ee735894e0d9e2a3f1434e;hpb=d52eb8f656242c7e34afdb2dee681861fb9bce35;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/account/account-follow-interface.ts b/server/models/account/account-follow-interface.ts index 6f228c790..a0d620dd0 100644 --- a/server/models/account/account-follow-interface.ts +++ b/server/models/account/account-follow-interface.ts @@ -5,7 +5,11 @@ import { ResultList } from '../../../shared/models/result-list.model' import { AccountInstance } from './account-interface' export namespace AccountFollowMethods { - export type LoadByAccountAndTarget = (accountId: number, targetAccountId: number) => Bluebird + export type LoadByAccountAndTarget = ( + accountId: number, + targetAccountId: number, + t?: Sequelize.Transaction + ) => Bluebird export type ListFollowingForApi = (id: number, start: number, count: number, sort: string) => Bluebird< ResultList> export type ListFollowersForApi = (id: number, start: number, count: number, sort: string) => Bluebird< ResultList>