fix: Forward to incorrect collection url on first signin (#2565)
closes #2560
This commit is contained in:
@ -101,10 +101,7 @@ export async function signIn(
|
||||
});
|
||||
|
||||
const [collection, view] = await Promise.all([
|
||||
Collection.findOne({
|
||||
where: { teamId: user.teamId },
|
||||
order: [["index", "ASC"]],
|
||||
}),
|
||||
Collection.findFirstCollectionForUser(user),
|
||||
View.findOne({
|
||||
where: { userId: user.id },
|
||||
}),
|
||||
|
Reference in New Issue
Block a user