updated /claim-publish route name

This commit is contained in:
bill bittner 2017-12-15 10:12:21 -08:00
parent 579c585d00
commit 604d3d91e5

View file

@ -124,7 +124,7 @@ module.exports = (app) => {
});
});
// route to run a publish request on the daemon
app.post('/api/publish', multipartMiddleware, ({ body, files, ip, originalUrl, user }, res) => {
app.post('/api/claim-publish', multipartMiddleware, ({ body, files, ip, originalUrl, user }, res) => {
let name, fileName, filePath, fileType, nsfw, license, title, description, thumbnail, anonymous, channelName, channelPassword;
// validate the body and files of the request
try {