Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Replace calendly with Stripe link #410

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/api/actions/github/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export async function POST(request: Request) {

// If the count is surpassed, we replace the
if (count.github_app_uses > 500) {
textToWrite = `Your team has surpassed the free monthly usage. [Please click here](https://calendly.com/evargas-14/watermelon-business) to upgrade.`;
textToWrite = `Your team has surpassed the free monthly usage. [Please click here](https://buy.stripe.com/28o0289KVaYV5wY004) to upgrade.`;

const comments = await octokit.request(
"GET /repos/{owner}/{repo}/issues/{issue_number}/comments?sort=created&direction=desc",
Expand Down
2 changes: 1 addition & 1 deletion components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Navbar({ children }: { children: React.ReactNode }) {
{ href: "/settings", label: "Settings" },
{ href: "/team", label: "Team" },
{
href: "https://calendly.com/evargas-14/watermelon-business",
href: "https://buy.stripe.com/28o0289KVaYV5wY004",
label: "Billing",
},
{ href: "/api/auth/signout", label: "Logout", onClick: signOut },
Expand Down