Fix to auth of mutation ops
This commit is contained in:
parent
c7d7e152a0
commit
2058505bf1
6 changed files with 32 additions and 59 deletions
|
@ -48,7 +48,7 @@ export function Component({replyTo}: {replyTo?: string}) {
|
|||
return false
|
||||
}
|
||||
try {
|
||||
await apilib.post(store.api, 'did:test:alice', text, replyTo)
|
||||
await apilib.post(store, text, replyTo)
|
||||
} catch (e: any) {
|
||||
console.error(`Failed to create post: ${e.toString()}`)
|
||||
setError(
|
||||
|
@ -103,7 +103,7 @@ export function Component({replyTo}: {replyTo?: string}) {
|
|||
start={{x: 0, y: 0}}
|
||||
end={{x: 1, y: 1}}
|
||||
style={styles.postBtn}>
|
||||
<Text style={[s.white, s.f16, s.semiBold]}>Post</Text>
|
||||
<Text style={[s.white, s.f16, s.bold]}>Post</Text>
|
||||
</LinearGradient>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue