blob: 9e46e8a616826836a5c19f38bc1baf86bd21056c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import {useSession} from '#/state/session'
// toy auth
export const useHeaders = () => {
const {currentAccount} = useSession()
return {
get Authorization() {
return currentAccount!.did
},
}
}
|