Merge pull request #834 from linkwarden/dev

updated README
This commit is contained in:
Daniel 2024-11-12 17:40:32 -05:00 committed by GitHub
commit b4dd47aa37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 14 deletions

View File

@ -69,16 +69,19 @@ We've forked the old version from the current repository into [this repo](https:
- 📱 Responsive design and supports most modern browsers.
- 🌓 Dark/Light mode support.
- 🧩 Browser extension, managed by the community. [Star it here!](https://github.com/linkwarden/browser-extension)
- 🔄 Browser Synchronization (using [Floccus](https://floccus.org)!)
- ⬇️ Import and export your bookmarks.
- 🔐 SSO integration. (Enterprise and Self-hosted users only)
- 📦 Installable Progressive Web App (PWA).
- 🍏 iOS and MacOS Apps, maintained by [JGeek00](https://github.com/JGeek00).
- 🍎 iOS Shortcut to save links to Linkwarden.
- 🍎 iOS Shortcut to save Links to Linkwarden.
- 🔑 API keys.
- ✅ Bulk actions.
- 👥 User administration.
- 🌐 Support for Other Languages (i18n).
- 📁 Image and PDF Uploads.
- 🎨 Custom Icons for Links and Collections.
- ⚙️ Customizable View and Adjustable Columns.
- ✨ And many more features. (Literally!)
## Like what we're doing? Give us a Star ⭐

View File

@ -10,8 +10,7 @@ type Data = {
action:
| "customer.subscription.created"
| "customer.subscription.updated"
| "customer.subscription.deleted"
| "customer.subscription.cancelled";
| "customer.subscription.deleted";
};
export default async function handleSubscription({

View File

@ -98,17 +98,6 @@ export default async function webhook(
});
break;
case "customer.subscription.cancelled":
await handleSubscription({
id: data.id,
active: !(data.current_period_end * 1000 < Date.now()),
quantity: data?.lines?.data[0]?.quantity ?? 1,
periodStart: data.current_period_start,
periodEnd: data.current_period_end,
action: "customer.subscription.cancelled",
});
break;
default:
console.log(`Unhandled event type ${eventType}`);
}