fixed publish

This commit is contained in:
bill bittner 2017-09-20 17:14:33 -07:00
parent e4a56d5ed1
commit 5228b55a0f
4 changed files with 25 additions and 6 deletions

View file

@ -0,0 +1,20 @@
module.exports = {
up: (queryInterface, Sequelize) => {
// logic for transforming into the new state
return queryInterface.addColumn(
'Claim',
'FileId',
{
type : Sequelize.STRING,
allowNull: true,
}
);
},
down: (queryInterface, Sequelize) => {
// logic for reverting the changes
return queryInterface.removeColumn(
'Claim',
'FileId'
);
},
};

View file

@ -54,8 +54,6 @@
width: 90% width: 90%
} }
/* show routes */ /* show routes */
.show-asset { .show-asset {
width: 100%; width: 100%;

View file

@ -1,6 +1,7 @@
body, button, input, textarea, label, select, option { body, button, input, textarea, label, select, option {
font-family: serif; font-family: serif;
} }
/* Containters */ /* Containters */
.wrapper { .wrapper {
@ -170,11 +171,11 @@ input:-webkit-autofill {
} }
.input-text--primary { .input-text--primary {
border-bottom: 1px solid grey; border-bottom: 1px solid blue;
} }
.input-text--primary:focus { .input-text--primary:focus {
border-bottom: 1px solid blue; border-bottom: 1px solid grey;
} }
/* MEDIA QUERIES */ /* MEDIA QUERIES */

View file

@ -30,7 +30,7 @@ module.exports = (app) => {
if (result === true) { if (result === true) {
res.status(200).json(true); res.status(200).json(true);
} else { } else {
logger.debug(`Rejecting publish request because ${params.name} has already been published via spee.ch`); logger.debug(`Rejecting '${params.name}' because that name has already been claimed on spee.ch`);
res.status(200).json(false); res.status(200).json(false);
} }
}) })
@ -45,7 +45,7 @@ module.exports = (app) => {
if (result === true) { if (result === true) {
res.status(200).json(true); res.status(200).json(true);
} else { } else {
logger.debug(`Rejecting publish request because ${params.name} has already been published via spee.ch`); logger.debug(`Rejecting '${params.name}' because that channel has already been claimed on spee.ch`);
res.status(200).json(false); res.status(200).json(false);
} }
}) })