We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3235da + f473565 commit ad21550Copy full SHA for ad21550
.changeset/plenty-apples-matter.md
@@ -0,0 +1,5 @@
1
+---
2
+'@forgerock/davinci-client': patch
3
4
+
5
+fix return value for social-login
packages/davinci-client/src/lib/client.store.ts
@@ -138,8 +138,8 @@ export async function davinci({
138
* @returns unknown
139
*/
140
resume: async ({ continueToken }: { continueToken: string }) => {
141
- const node = store.dispatch(davinciApi.endpoints.resume.initiate({ continueToken }));
142
- return node;
+ store.dispatch(davinciApi.endpoints.resume.initiate({ continueToken }));
+ return store.getState().node;
143
},
144
145
/**
0 commit comments