Add new columns to userPlannedAdventures table and update Adventure interface
This commit is contained in:
@@ -25,14 +25,13 @@ export async function load({ params }) {
|
||||
id: item.id,
|
||||
name: item.name,
|
||||
location: item.location,
|
||||
created: item.created,
|
||||
date: item.date,
|
||||
} as Adventure;
|
||||
});
|
||||
|
||||
let name = rawData.name;
|
||||
let date = rawData.date;
|
||||
|
||||
|
||||
// Return the array of Adventure objects
|
||||
return {
|
||||
adventureArray,
|
||||
|
||||
Reference in New Issue
Block a user