aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/accounts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/accounts.ts')
-rw-r--r--server/controllers/api/accounts.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts
index 9eb29d330..e807b4f44 100644
--- a/server/controllers/api/accounts.ts
+++ b/server/controllers/api/accounts.ts
@@ -176,12 +176,12 @@ async function listAccountVideos (req: express.Request, res: express.Response) {
176 accountId: account.id, 176 accountId: account.id,
177 user: res.locals.oauth ? res.locals.oauth.token.User : undefined, 177 user: res.locals.oauth ? res.locals.oauth.token.User : undefined,
178 countVideos 178 countVideos
179 }, 'filter:api.videos.list.params') 179 }, 'filter:api.accounts.videos.list.params')
180 180
181 const resultList = await Hooks.wrapPromiseFun( 181 const resultList = await Hooks.wrapPromiseFun(
182 VideoModel.listForApi, 182 VideoModel.listForApi,
183 apiOptions, 183 apiOptions,
184 'filter:api.videos.list.result' 184 'filter:api.accounts.videos.list.result'
185 ) 185 )
186 186
187 return res.json(getFormattedObjects(resultList.data, resultList.total)) 187 return res.json(getFormattedObjects(resultList.data, resultList.total))