add a comment
This commit is contained in:
@@ -63,7 +63,7 @@ export function StepFinished() {
|
|||||||
if (starterPack.list) {
|
if (starterPack.list) {
|
||||||
const listRes = await agent.app.bsky.graph.getList({
|
const listRes = await agent.app.bsky.graph.getList({
|
||||||
list: starterPack.list.uri,
|
list: starterPack.list.uri,
|
||||||
limit: 51,
|
limit: 50,
|
||||||
})
|
})
|
||||||
listItems = listRes.data.items
|
listItems = listRes.data.items
|
||||||
}
|
}
|
||||||
@@ -78,8 +78,8 @@ export function StepFinished() {
|
|||||||
...(listItems?.map(i => i.subject.did) ?? []),
|
...(listItems?.map(i => i.subject.did) ?? []),
|
||||||
]),
|
]),
|
||||||
(async () => {
|
(async () => {
|
||||||
|
// Interests need to get saved first, then we can write the feeds to prefs
|
||||||
await agent.setInterestsPref({tags: selectedInterests})
|
await agent.setInterestsPref({tags: selectedInterests})
|
||||||
|
|
||||||
if (starterPack?.feeds?.length) {
|
if (starterPack?.feeds?.length) {
|
||||||
await agent.addSavedFeeds(
|
await agent.addSavedFeeds(
|
||||||
starterPack.feeds.map(f => ({
|
starterPack.feeds.map(f => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user