diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-17 15:45:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 8a19bee1a1ee39f973bb37429e4f73c3f2873cdb (patch) | |
tree | 33c93ef19451d7e46d4be74ce0681359d2dcc70e /server/models/account/account.ts | |
parent | 965c4b22d0e4d2f853501e844e6ebbb861bd389d (diff) | |
download | PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.gz PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.zst PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.zip |
Add ability to set a name to a channel
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 66f5dcf2e..07539a04e 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -194,7 +194,7 @@ export class AccountModel extends Model<AccountModel> { | |||
194 | return AccountModel.findOne(query) | 194 | return AccountModel.findOne(query) |
195 | } | 195 | } |
196 | 196 | ||
197 | static loadLocalByNameAndHost (name: string, host: string) { | 197 | static loadByNameAndHost (name: string, host: string) { |
198 | const query = { | 198 | const query = { |
199 | include: [ | 199 | include: [ |
200 | { | 200 | { |