init show map and routes

This commit is contained in:
sedum
2022-09-18 23:15:22 +02:00
parent 5671e3b6ca
commit 838d1988ad
8 changed files with 171 additions and 14 deletions

View File

@@ -105,7 +105,8 @@ Event.prototype.toAP = function (username, locale, to = []) {
endTime: this.end_datetime ? dayjs.unix(this.end_datetime).tz().locale(locale).format() : null,
location: {
name: this.place.name,
address: this.place.address
address: this.place.address,
details: this.place.details
},
attachment,
tag: tags && tags.map(tag => ({