diff --git a/utility/firebase.js b/utility/firebase.js index cad78080..6f9e6b7b 100644 --- a/utility/firebase.js +++ b/utility/firebase.js @@ -123,7 +123,7 @@ export const getEvent = (eventID, data) => { text: data.text || 'Empty text description for event', date: data.date ? formatDate(data.date.seconds) : formatDate(getTimestamp().seconds), points: data.points >= 0 ? data.points : '0', - type: data.type || 'activities', + type: data.type || 'minievents', lastModified: data.lastModified ? formatDate(data.lastModified.seconds) : formatDate(getTimestamp().seconds), lastModifiedBy: data.lastModifiedBy || 'Unknown user', }