File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
66
66
store . any ( null , ns . space ( 'storage' ) , pod , pod )
67
67
if ( podOwner ) {
68
68
try {
69
- store . fetcher . load ( ( podOwner as NamedNode ) . doc ( ) )
69
+ await store . fetcher . load ( ( podOwner as NamedNode ) . doc ( ) )
70
70
} catch ( err ) {
71
71
console . warn ( 'Unable to load profile of pod owner ' + podOwner )
72
72
return null
@@ -81,7 +81,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
81
81
const guess = sym ( `${ pod . uri } profile/card#me` )
82
82
try {
83
83
// @ts -ignore LiveStore always has fetcher
84
- store . fetcher . load ( guess )
84
+ await store . fetcher . load ( guess )
85
85
} catch ( err ) {
86
86
console . error ( 'Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.' )
87
87
return null
You can’t perform that action at this time.
0 commit comments