Refactor repository layer (and implement garage)
This commit is contained in:
@@ -23,11 +23,11 @@ export async function saveProfile(
|
||||
title: req.title,
|
||||
background: req.background,
|
||||
}),
|
||||
w.car().save(req.profileId, req.car),
|
||||
w.coursePlays().save(req.profileId, req.coursePlays),
|
||||
w.car().saveCar(req.profileId, req.car),
|
||||
w.coursePlays().saveAll(req.profileId, req.coursePlays),
|
||||
w.missions().save(req.profileId, req.missions),
|
||||
w.story().save(req.profileId, req.story),
|
||||
w.titles().save(req.profileId, req.titles),
|
||||
w.titles().saveAll(req.profileId, req.titles),
|
||||
w.unlocks().save(req.profileId, req.unlocks),
|
||||
w.settings().save(req.profileId, req.settings),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user