Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/unkeyed/unkey
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Oct 29, 2024
2 parents 57fdd1c + 6d2a161 commit 7322cef
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/pkg/metrics/axiom.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// idfk https://twitter.com/chronark_/status/1790061863918604666
// idfk https://x.com/chronark_/status/1790061863918604666
// @ts-ignore
import "@axiomhq/js";
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export default async function OverridePage(props: Props) {

const namespace = await db.query.ratelimitNamespaces.findFirst({
where: (table, { eq, and, isNull }) =>
and(eq(table.id, props.params.namespaceId), isNull(table.deletedAt)),
and(
eq(table.id, props.params.namespaceId),
isNull(table.deletedAt)
),
with: {
overrides: {
columns: {
Expand All @@ -33,8 +36,9 @@ export default async function OverridePage(props: Props) {
duration: true,
async: true,
},
where: (table, { isNull }) =>
isNull(table.deletedAt)
},

workspace: {
columns: {
id: true,
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/app/auth/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const quotes: {
},
{
text: "Just used Unkey, by far the easiest and cheapest ( its free ) solution I have used so far for saas to manage their api keys. Its amazing how easy it is use.",
source: "https://twitter.com/tkejr_/status/1731613302378164440",
source: "https://x.com/tkejr_/status/1731613302378164440",
author: {
name: "Tanmay",
image: "/images/quoteImages/tanmay.jpg",
Expand All @@ -50,7 +50,7 @@ const quotes: {
},
{
text: "Diving into Unkey for a project, and I'm impressed! Love the straightforward setup for managing API keys.",
source: "https://twitter.com/ojabowalola/status/1724134790670999919",
source: "https://x.com/ojabowalola/status/1724134790670999919",
author: {
name: "Lola",
image: "/images/quoteImages/lola.jpg",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ Join the Unkey community to ask questions, discuss best practices, and share tip
<Card
title="Twitter / X"
icon="x-twitter"
href="https://twitter.com/unkeydev"
href="https://x.com/unkeydev"
></Card>
</CardGroup>
2 changes: 1 addition & 1 deletion apps/www/app/changelog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default async function Changelogs(_props: Props) {
<div>
<div className="flex flex-row text-center">
<div className="mx-auto flex-flex-col ">
<a href="https://twitter.com/unkeydev" target="_blank" rel="noreferrer">
<a href="https://x.com/unkeydev" target="_blank" rel="noreferrer">
<RainbowDarkButton label="Follow us on X" IconRight={ArrowRight} />
</a>
<h2 className="blog-heading-gradient text-6xl font-medium mt-12">Changelog</h2>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/components/changelog/changelog-grid-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function ChangelogGridItem({ className, changelog }: Props) {
<MDX code={changelog.mdx} />
<XShareButton
className="my-2"
url={`https://twitter.com/intent/post?text=${changelog.title}%0a%0a${baseUrl}/changelog#${changelog.slug}`}
url={`https://x.com/intent/post?text=${changelog.title}%0a%0a${baseUrl}/changelog#${changelog.slug}`}
/>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/content/blog/how-unkey-treats-marketing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ You will notice everything is related to feedback and building relationships. Th

## Conclusion

Traditional marketing is dead from Unkey's perspective, and I hope this blog post has helped you understand how we think about marketing and developer relations. If you have any questions, feel free to reach out to me on [Twitter](https://twitter.com/james_r_perkins) or [Email]([email protected]).
Traditional marketing is dead from Unkey's perspective, and I hope this blog post has helped you understand how we think about marketing and developer relations. If you have any questions, feel free to reach out to me on [X(Twitter)](https://x.com/james_r_perkins) or [Email]([email protected]).
2 changes: 1 addition & 1 deletion apps/www/content/changelog/2023-07-21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ You can read about this in our [documentation](https://unkey.com/docs/api-refere

## Community Shoutout

A huge shoutout to **[Wilfred Almeida](https://twitter.com/WilfredAlmeida_)** who spent some time creating the Go SDK. You can check out the Go code on [GitHub](https://github.com/WilfredAlmeida/unkey-go) and even help with some remaining items.
A huge shoutout to **[Wilfred Almeida](https://x.com/WilfredAlmeida_)** who spent some time creating the Go SDK. You can check out the Go code on [GitHub](https://github.com/WilfredAlmeida/unkey-go) and even help with some remaining items.

0 comments on commit 7322cef

Please sign in to comment.