Add name and date columns to sharedAdventures table and display them in shared adventure page

This commit is contained in:
Sean Morley
2024-04-11 22:21:09 +00:00
parent 167080441a
commit a6c3738c48
7 changed files with 241 additions and 3 deletions

View File

@@ -29,9 +29,14 @@ export async function load({ params }) {
} as Adventure;
});
let name = rawData.name;
let date = rawData.date;
// Return the array of Adventure objects
return {
adventureArray,
name,
date,
};
}