@@ -386,7 +386,7 @@ $(document).ready(function () {
// login
if (!liff.isLoggedIn()) {
console.log("您未登入");
- liff.login({ redirectUri: "https://ark.cards/collect.html?"+profile.userId }); // test
+ liff.login({ redirectUri: "https://ark.cards/collect.html?"+context.userId }); // test
} else {
console.log("您已登入");
}