packages/core-api: fix invocation order when continuing to app after sign-in

This commit is contained in:
Patrik Oldsberg
2020-06-17 17:45:18 +02:00
parent 89168d4d36
commit 32971c811d
+1 -1
View File
@@ -265,8 +265,8 @@ export class PrivateAppImpl implements BackstageApp {
if (done) {
throw new Error('Identity result callback was called twice');
}
setDone(true);
this.identityApi.setSignInResult(result);
setDone(true);
},
[done],
);