fix browser extension bug
This commit is contained in:
@@ -48,6 +48,7 @@ export default async function postLink(
|
|||||||
return { response: "Collection is not accessible.", status: 401 };
|
return { response: "Collection is not accessible.", status: 401 };
|
||||||
|
|
||||||
link.collection.id = findCollection.id;
|
link.collection.id = findCollection.id;
|
||||||
|
link.collection.ownerId = findCollection.ownerId;
|
||||||
} else {
|
} else {
|
||||||
const collection = await prisma.collection.create({
|
const collection = await prisma.collection.create({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
Reference in New Issue
Block a user