.
This commit is contained in:
parent
5e82eaee9c
commit
2724db4d4b
@ -27,7 +27,7 @@ const partnersPast = [{
|
|||||||
image: "https://cdnapp2.loquedeverdadimporta.org/partners/gonvarri/banner_past.jpg",
|
image: "https://cdnapp2.loquedeverdadimporta.org/partners/gonvarri/banner_past.jpg",
|
||||||
width: "1080",
|
width: "1080",
|
||||||
height: "445",
|
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 = () => {
|
const getPartnersData = () => {
|
||||||
let partners = [];
|
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') {
|
if (event.stateCode && event.stateCode === 'current_event') {
|
||||||
return partnersCurrent;
|
return partnersCurrent;
|
||||||
} else if (event.stateCode === 'closed_event') {
|
} else if (event.stateCode === 'closed_event') {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||||||
defaultValue: DataTypes.UUIDV4,
|
defaultValue: DataTypes.UUIDV4,
|
||||||
primaryKey: true,
|
primaryKey: true,
|
||||||
},
|
},
|
||||||
description: {
|
question: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
},
|
},
|
||||||
anonimous: {
|
anonimous: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user