From 0aef76c479bc7fc758e70e1cd478ade46761b51b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Aug 2017 11:45:31 +0200 Subject: Formated -> Formatted --- server/models/pod/pod.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/models/pod/pod.ts') 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 { } from './pod-interface' let Pod: Sequelize.Model -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, -- cgit v1.2.3