.
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",
|
||||
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') {
|
||||
|
||||
@ -7,7 +7,7 @@ module.exports = function (sequelize, DataTypes) {
|
||||
defaultValue: DataTypes.UUIDV4,
|
||||
primaryKey: true,
|
||||
},
|
||||
description: {
|
||||
question: {
|
||||
type: DataTypes.STRING,
|
||||
},
|
||||
anonimous: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user