diff options
Diffstat (limited to 'server/lib/user.ts')
-rw-r--r-- | server/lib/user.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/user.ts b/server/lib/user.ts index d54ffc916..5653d8e65 100644 --- a/server/lib/user.ts +++ b/server/lib/user.ts | |||
@@ -5,7 +5,7 @@ import { CONFIG } from '../initializers/constants' | |||
5 | import { UserInstance } from '../models' | 5 | import { UserInstance } from '../models' |
6 | import { createVideoChannel } from './video-channel' | 6 | import { createVideoChannel } from './video-channel' |
7 | import { logger } from '../helpers/logger' | 7 | import { logger } from '../helpers/logger' |
8 | import { getAccountActivityPubUrl } from '../helpers/activitypub' | 8 | import { getAccountActivityPubUrl } from './activitypub/url' |
9 | 9 | ||
10 | async function createUserAccountAndChannel (user: UserInstance, validateUser = true) { | 10 | async function createUserAccountAndChannel (user: UserInstance, validateUser = true) { |
11 | const { account, videoChannel } = await db.sequelize.transaction(async t => { | 11 | const { account, videoChannel } = await db.sequelize.transaction(async t => { |