ensure we post starter-pack not start links

This commit is contained in:
Hailey
2024-06-26 17:03:20 -07:00
parent f8d11aeed0
commit 160f03f8e2
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -99,3 +99,7 @@ export function createStarterPackUri({
}): string | null {
return new AtUri(`at://${did}/app.bsky.graph.starterpack/${rkey}`).toString()
}
export function startUriToStarterPackUri(uri: string) {
return uri.replace('/start/', '/starter-pack/')
}