mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Formated -> Formatted
This commit is contained in:
parent
93e1258c7c
commit
0aef76c479
17 changed files with 63 additions and 63 deletions
|
@ -13,7 +13,7 @@ import {
|
|||
} from './pod-interface'
|
||||
|
||||
let Pod: Sequelize.Model<PodInstance, PodAttributes>
|
||||
let toFormatedJSON: PodMethods.ToFormatedJSON
|
||||
let toFormattedJSON: PodMethods.ToFormattedJSON
|
||||
let countAll: PodMethods.CountAll
|
||||
let incrementScores: PodMethods.IncrementScores
|
||||
let list: PodMethods.List
|
||||
|
@ -86,7 +86,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
|
|||
updatePodsScore,
|
||||
removeAll
|
||||
]
|
||||
const instanceMethods = [ toFormatedJSON ]
|
||||
const instanceMethods = [ toFormattedJSON ]
|
||||
addMethodsToModel(Pod, classMethods, instanceMethods)
|
||||
|
||||
return Pod
|
||||
|
@ -94,7 +94,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
|
|||
|
||||
// ------------------------------ METHODS ------------------------------
|
||||
|
||||
toFormatedJSON = function (this: PodInstance) {
|
||||
toFormattedJSON = function (this: PodInstance) {
|
||||
const json = {
|
||||
id: this.id,
|
||||
host: this.host,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue