Remove internal log
This commit is contained in:
parent
21f4ed5c33
commit
81d4d557f7
|
@ -7,7 +7,7 @@ import {
|
||||||
type PluginType_Type
|
type PluginType_Type
|
||||||
} from '@peertube/peertube-models'
|
} from '@peertube/peertube-models'
|
||||||
import { MPlugin, MPluginFormattable } from '@server/types/models/index.js'
|
import { MPlugin, MPluginFormattable } from '@server/types/models/index.js'
|
||||||
import { FindAndCountOptions, json, QueryTypes } from 'sequelize'
|
import { FindAndCountOptions, QueryTypes, json } from 'sequelize'
|
||||||
import { AllowNull, Column, CreatedAt, DataType, DefaultScope, Is, Table, UpdatedAt } from 'sequelize-typescript'
|
import { AllowNull, Column, CreatedAt, DataType, DefaultScope, Is, Table, UpdatedAt } from 'sequelize-typescript'
|
||||||
import {
|
import {
|
||||||
isPluginDescriptionValid,
|
isPluginDescriptionValid,
|
||||||
|
@ -18,7 +18,6 @@ import {
|
||||||
isPluginTypeValid
|
isPluginTypeValid
|
||||||
} from '../../helpers/custom-validators/plugins.js'
|
} from '../../helpers/custom-validators/plugins.js'
|
||||||
import { SequelizeModel, getSort, throwIfNotValid } from '../shared/index.js'
|
import { SequelizeModel, getSort, throwIfNotValid } from '../shared/index.js'
|
||||||
import { logger } from '@server/helpers/logger.js'
|
|
||||||
|
|
||||||
@DefaultScope(() => ({
|
@DefaultScope(() => ({
|
||||||
attributes: {
|
attributes: {
|
||||||
|
@ -174,7 +173,6 @@ export class PluginModel extends SequelizeModel<PluginModel> {
|
||||||
result[name] = p.settings[name]
|
result[name] = p.settings[name]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.error('internal', { result })
|
|
||||||
|
|
||||||
return result
|
return result
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue