Merge branch 'master' of https://gitlab.forthrd.io/Pakin/supra-app into dev
This commit is contained in:
commit
b5e0705f79
14 changed files with 262 additions and 103 deletions
|
|
@ -97,8 +97,8 @@
|
|||
websocketConnectedForUid = currentUser.uid;
|
||||
console.log('connect ws after auth ready');
|
||||
|
||||
void currentUser.getIdToken().then((idToken) => {
|
||||
connectToWebsocket(idToken);
|
||||
void currentUser.getIdToken(true).then(async (idToken) => {
|
||||
await connectToWebsocket(idToken);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,9 +58,9 @@
|
|||
}
|
||||
});
|
||||
|
||||
function sendGetRecipeVersions(country: string) {
|
||||
async function sendGetRecipeVersions(country: string) {
|
||||
version_list = [];
|
||||
sendMessage({
|
||||
await sendMessage({
|
||||
type: 'recipe_versions',
|
||||
payload: {
|
||||
auth: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue