Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

edits

Steven Tey9ee1508a421b
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
index 71e7fbff4e..1ae9bfc091 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
@@ -154,7 +154,7 @@ const TokenRow = (token: TokenProps) => {
</Tooltip>
<p>•</p>
<p className="text-sm text-gray-500" suppressHydrationWarning>
- {timeAgo(token.createdAt)}
+ Created {timeAgo(token.createdAt)}
</p>
</div>
</div>
diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prisma
index 9bb76fd438..e19d5e6d2d 100644
--- a/apps/web/prisma/schema.prisma
+++ b/apps/web/prisma/schema.prisma
@@ -94,7 +94,7 @@ model RestrictedToken {
name String
hashedKey String @unique
partialKey String
- scopes String? // space separated (Eg: "read:links write:links")
+ scopes String? // space separated (Eg: "links:write", "domains:read")
expires DateTime?
lastUsed DateTime?
rateLimit Int @default(600) // rate limit per minute