]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account.ts
Add ability to set a name to a channel
[github/Chocobozzz/PeerTube.git] / server / models / account / account.ts
index 66f5dcf2ef3d22d269769bc008cde0a782a1a4e5..07539a04eb561e640291dfa971ee862a8ecc8eed 100644 (file)
@@ -194,7 +194,7 @@ export class AccountModel extends Model<AccountModel> {
     return AccountModel.findOne(query)
   }
 
-  static loadLocalByNameAndHost (name: string, host: string) {
+  static loadByNameAndHost (name: string, host: string) {
     const query = {
       include: [
         {