aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pod/pod.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-08-25 11:45:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-08-25 11:45:31 +0200
commit0aef76c479bc7fc758e70e1cd478ade46761b51b (patch)
treeed59eae3ee731c56d25cc35a382f4cc400d0dece /server/models/pod/pod.ts
parent93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff)
downloadPeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip
Formated -> Formatted
Diffstat (limited to 'server/models/pod/pod.ts')
-rw-r--r--server/models/pod/pod.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/pod/pod.ts b/server/models/pod/pod.ts
index e1088977f..56918e358 100644
--- a/server/models/pod/pod.ts
+++ b/server/models/pod/pod.ts
@@ -13,7 +13,7 @@ import {
13} from './pod-interface' 13} from './pod-interface'
14 14
15let Pod: Sequelize.Model<PodInstance, PodAttributes> 15let Pod: Sequelize.Model<PodInstance, PodAttributes>
16let toFormatedJSON: PodMethods.ToFormatedJSON 16let toFormattedJSON: PodMethods.ToFormattedJSON
17let countAll: PodMethods.CountAll 17let countAll: PodMethods.CountAll
18let incrementScores: PodMethods.IncrementScores 18let incrementScores: PodMethods.IncrementScores
19let list: PodMethods.List 19let list: PodMethods.List
@@ -86,7 +86,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
86 updatePodsScore, 86 updatePodsScore,
87 removeAll 87 removeAll
88 ] 88 ]
89 const instanceMethods = [ toFormatedJSON ] 89 const instanceMethods = [ toFormattedJSON ]
90 addMethodsToModel(Pod, classMethods, instanceMethods) 90 addMethodsToModel(Pod, classMethods, instanceMethods)
91 91
92 return Pod 92 return Pod
@@ -94,7 +94,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
94 94
95// ------------------------------ METHODS ------------------------------ 95// ------------------------------ METHODS ------------------------------
96 96
97toFormatedJSON = function (this: PodInstance) { 97toFormattedJSON = function (this: PodInstance) {
98 const json = { 98 const json = {
99 id: this.id, 99 id: this.id,
100 host: this.host, 100 host: this.host,