diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
commit | 0aef76c479bc7fc758e70e1cd478ade46761b51b (patch) | |
tree | ed59eae3ee731c56d25cc35a382f4cc400d0dece /server/models/video/video-abuse.ts | |
parent | 93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff) | |
download | PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip |
Formated -> Formatted
Diffstat (limited to 'server/models/video/video-abuse.ts')
-rw-r--r-- | server/models/video/video-abuse.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video/video-abuse.ts b/server/models/video/video-abuse.ts index df92609c0..ebc63e7a0 100644 --- a/server/models/video/video-abuse.ts +++ b/server/models/video/video-abuse.ts | |||
@@ -12,7 +12,7 @@ import { | |||
12 | } from './video-abuse-interface' | 12 | } from './video-abuse-interface' |
13 | 13 | ||
14 | let VideoAbuse: Sequelize.Model<VideoAbuseInstance, VideoAbuseAttributes> | 14 | let VideoAbuse: Sequelize.Model<VideoAbuseInstance, VideoAbuseAttributes> |
15 | let toFormatedJSON: VideoAbuseMethods.ToFormatedJSON | 15 | let toFormattedJSON: VideoAbuseMethods.ToFormattedJSON |
16 | let listForApi: VideoAbuseMethods.ListForApi | 16 | let listForApi: VideoAbuseMethods.ListForApi |
17 | 17 | ||
18 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { | 18 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
@@ -57,7 +57,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da | |||
57 | listForApi | 57 | listForApi |
58 | ] | 58 | ] |
59 | const instanceMethods = [ | 59 | const instanceMethods = [ |
60 | toFormatedJSON | 60 | toFormattedJSON |
61 | ] | 61 | ] |
62 | addMethodsToModel(VideoAbuse, classMethods, instanceMethods) | 62 | addMethodsToModel(VideoAbuse, classMethods, instanceMethods) |
63 | 63 | ||
@@ -66,7 +66,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da | |||
66 | 66 | ||
67 | // ------------------------------ METHODS ------------------------------ | 67 | // ------------------------------ METHODS ------------------------------ |
68 | 68 | ||
69 | toFormatedJSON = function (this: VideoAbuseInstance) { | 69 | toFormattedJSON = function (this: VideoAbuseInstance) { |
70 | let reporterPodHost | 70 | let reporterPodHost |
71 | 71 | ||
72 | if (this.Pod) { | 72 | if (this.Pod) { |