mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-10 00:47:46 +00:00
fix update error
This commit is contained in:
@@ -48,6 +48,7 @@ export default function PluginInfoSettings({
|
||||
try {
|
||||
// 检查是否为Pro用户
|
||||
const userPlan = await fetchUserPlan(settings.infioProvider.apiKey);
|
||||
console.log('userPlan', userPlan);
|
||||
const isProUser = userPlan.plan?.toLowerCase().startsWith('pro') || false;
|
||||
if (!isProUser) {
|
||||
if (plugin?.app) {
|
||||
|
||||
Reference in New Issue
Block a user