diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-20 09:43:39 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 54141398354e6e7b94aa3065a705a1251390111c (patch) | |
tree | 8d30d1b9ea8acbe04f6d404125b04fc0c9897b70 /server/models/account/account.ts | |
parent | eb8b27c93e61a896a08923dc1ca3c87ba8cf4948 (diff) | |
download | PeerTube-54141398354e6e7b94aa3065a705a1251390111c.tar.gz PeerTube-54141398354e6e7b94aa3065a705a1251390111c.tar.zst PeerTube-54141398354e6e7b94aa3065a705a1251390111c.zip |
Refractor activity pub lib/helpers
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index faf5fa841..9a2921501 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | |||
3 | import { | 2 | import { |
4 | activityPubContextify, | 3 | activityPubContextify, |
5 | isAccountFollowersCountValid, | 4 | isAccountFollowersCountValid, |
@@ -15,7 +14,7 @@ import { | |||
15 | isUserUsernameValid | 14 | isUserUsernameValid |
16 | } from '../../helpers' | 15 | } from '../../helpers' |
17 | import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants' | 16 | import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants' |
18 | import { sendDeleteAccount } from '../../lib/activitypub/send-request' | 17 | import { sendDeleteAccount } from '../../lib/activitypub/send/send-delete' |
19 | 18 | ||
20 | import { addMethodsToModel } from '../utils' | 19 | import { addMethodsToModel } from '../utils' |
21 | import { AccountAttributes, AccountInstance, AccountMethods } from './account-interface' | 20 | import { AccountAttributes, AccountInstance, AccountMethods } from './account-interface' |