cleared up console logs
This commit is contained in:
parent
d28a5758dd
commit
06a3318a40
2 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue