This commit is contained in:
David Arranz 2019-09-27 16:02:13 +02:00
parent 5e82eaee9c
commit 2724db4d4b
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ const partnersPast = [{
image: "https://cdnapp2.loquedeverdadimporta.org/partners/gonvarri/banner_past.jpg",
width: "1080",
height: "445",
link: "https://twitter.com/hashtag/ED${city}?src=hash"
link: "default", //"https://twitter.com/hashtag/ED${city}?src=hash"
}];
@ -167,7 +167,7 @@ const eventComposer = (event, context) => {
const getPartnersData = () => {
let partners = [];
if (event && event.location && event.location.country == 'España') {
if (event && event.type && event.type.name == 'conference' && event.location && event.location.country == 'España') {
if (event.stateCode && event.stateCode === 'current_event') {
return partnersCurrent;
} else if (event.stateCode === 'closed_event') {

View File

@ -7,7 +7,7 @@ module.exports = function (sequelize, DataTypes) {
defaultValue: DataTypes.UUIDV4,
primaryKey: true,
},
description: {
question: {
type: DataTypes.STRING,
},
anonimous: {