Merge pull request #1347 from spotify/rugvip/order

packages/core-api: fix invocation order when continuing to app after sign-in
This commit is contained in:
Nikita Dudnik
2020-06-17 18:22:24 +02:00
committed by GitHub
+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],
);