Fix add initial_device_display_name on register

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-11-11 16:56:36 +05:30
parent 85cc4cb8f7
commit b5c5cd9586

View file

@ -75,7 +75,10 @@ async function completeRegisterStage(
try { try {
const result = await tempClient.registerRequest({ const result = await tempClient.registerRequest({
username, password, auth, username,
password,
auth,
initial_device_display_name: cons.DEVICE_DISPLAY_NAME,
}); });
const data = { completed: result.completed || [] }; const data = { completed: result.completed || [] };
if (result.access_token) { if (result.access_token) {