cleared up console logs

This commit is contained in:
bill bittner 2018-03-04 11:59:05 -08:00
parent d28a5758dd
commit 06a3318a40
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ module.exports = {
};
},
parsePublishApiChannel ({channelName, channelPassword}, user) {
logger.debug('publish api parser input:', {channelName, channelPassword, user});
logger.debug('api/claim/publish, channel data:', {channelName, channelPassword, user});
// if anonymous or '' provided, publish will be anonymous (even if client is logged in)
// if a channel name is provided...
if (channelName) {

View file

@ -132,8 +132,8 @@ module.exports = (app) => {
});
// route to run a publish request on the daemon
app.post('/api/claim/publish', multipartMiddleware, ({ body, files, headers, ip, originalUrl, user }, res) => {
logger.debug('api/claim-publish body:', body);
logger.debug('api/claim-publish files:', files);
logger.debug('api/claim/publish req.body:', body);
logger.debug('api/claim/publish req.files:', files);
// define variables
let name, fileName, filePath, fileType, thumbnailFileName, thumbnailFilePath, thumbnailFileType, nsfw, license, title, description, thumbnail, channelName, channelPassword;
// record the start time of the request