mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
fix(tags): keep a trip's tags when the member who created them deletes their account
The trip tags a deleted user created now pass to each trip's owner before the user row goes, so the tag and its place assignments no longer cascade away for everyone else on the trip.
This commit is contained in:
@@ -137,6 +137,7 @@ beforeAll(async () => {
|
||||
await createTestPluginsRepo(testDb),
|
||||
await createTestPluginUserErasureQueueRepo(testDb),
|
||||
{ releaseValues: async () => [] } as never,
|
||||
{ handToTripOwners: async () => {} } as never,
|
||||
);
|
||||
auth = new AuthService(
|
||||
permissions,
|
||||
|
||||
Reference in New Issue
Block a user