Fixed share page.

This commit is contained in:
Mike Cao committed 2022-12-13 11:27:55 -08:00
1 parent cb4c8accea
commit 4c202741c2
11 files changed
+58 -39

No files matched your search

+1 -2
View File
@@ -23,8 +23,7 @@ export default async (
const website = await getWebsite({ shareId });
if (website) {
const { id } = website;
const data = { id };
const data = { websiteId: website.id };
const token = createToken(data, secret());
return ok(res, { ...data, token });