fix writes

This commit is contained in:
Hailey
2024-06-06 19:06:28 -07:00
parent f680d04a4c
commit 2ea6501e6f
+2
View File
@@ -148,6 +148,7 @@ export function Provider({
await agent.com.atproto.repo.applyWrites({
repo: currentAccount!.did,
writes: state.profiles.map(p => ({
$type: 'com.atproto.repo.applyWrites#create',
collection: 'app.bsky.graph.listitem',
value: {
$type: 'app.bsky.graph.listitem',
@@ -161,6 +162,7 @@ export function Provider({
await agent.app.bsky.graph.starterpack.create(
{
repo: currentAccount!.did,
validate: false,
},
{
name: state.name ?? '',