Correção de conflito do merge
|
@ -106,10 +106,7 @@ export const update = async (
|
||||||
const { farewellMessage } = whatsapp;
|
const { farewellMessage } = whatsapp;
|
||||||
|
|
||||||
if (farewellMessage) {
|
if (farewellMessage) {
|
||||||
await SendWhatsAppMessage({
|
await SendWhatsAppMessage({ body: farewellMessage, ticket });
|
||||||
body: farewellMessage,
|
|
||||||
ticket
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ export const initWbot = async (whatsapp: Whatsapp): Promise<Session> => {
|
||||||
resolve(wbot);
|
resolve(wbot);
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(err);
|
logger.error(`${err}`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -160,6 +160,6 @@ export const removeWbot = (whatsappId: number): void => {
|
||||||
sessions.splice(sessionIndex, 1);
|
sessions.splice(sessionIndex, 1);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(err);
|
logger.error(`${err}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,8 +22,7 @@ export const StartWhatsAppSession = async (
|
||||||
wbotMonitor(wbot, whatsapp);
|
wbotMonitor(wbot, whatsapp);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
||||||
console.error(err )
|
logger.error(`${err}`);
|
||||||
logger.error(err);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -1,18 +1,18 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>GrupoHit</title>
|
<title>OmniHit</title>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
|
||||||
|
|
||||||
<!--<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />-->
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||||
<link rel="icon" href="http://www.hittelco.com/images/favicon.png" />
|
<!--<link rel="icon" href="https://www.hittelco.com/images/favicon.png" />-->
|
||||||
|
|
||||||
<!--<link rel=”shortcut icon” href=”%PUBLIC_URL%/favicon.ico”>-->
|
<link rel=”shortcut icon” href=”%PUBLIC_URL%/favicon.ico”>
|
||||||
<link rel="shortcut icon" href="http://www.hittelco.com/images/favicon.png" />
|
<!--<link rel="shortcut icon" href="http://www.hittelco.com/images/favicon.png" />-->
|
||||||
|
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"short_name": "GrupoHit",
|
"short_name": "OmniHit",
|
||||||
"name": "GrupoHit",
|
"name": "OmniHit",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "favicon.ico",
|
"src": "favicon.ico",
|
||||||
|
|
|
@ -82,6 +82,7 @@ const TicketActionButtons = ({ ticket }) => {
|
||||||
>
|
>
|
||||||
{i18n.t("messagesList.header.buttons.return")}
|
{i18n.t("messagesList.header.buttons.return")}
|
||||||
</ButtonWithSpinner>
|
</ButtonWithSpinner>
|
||||||
|
|
||||||
<ButtonWithSpinner
|
<ButtonWithSpinner
|
||||||
loading={loading}
|
loading={loading}
|
||||||
size="small"
|
size="small"
|
||||||
|
@ -91,6 +92,7 @@ const TicketActionButtons = ({ ticket }) => {
|
||||||
>
|
>
|
||||||
{i18n.t("messagesList.header.buttons.resolve")}
|
{i18n.t("messagesList.header.buttons.resolve")}
|
||||||
</ButtonWithSpinner>
|
</ButtonWithSpinner>
|
||||||
|
|
||||||
<IconButton onClick={handleOpenTicketOptionsMenu}>
|
<IconButton onClick={handleOpenTicketOptionsMenu}>
|
||||||
<MoreVert />
|
<MoreVert />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
|
@ -220,7 +220,7 @@ const LoggedInLayout = ({ children }) => {
|
||||||
className={classes.title}
|
className={classes.title}
|
||||||
>
|
>
|
||||||
|
|
||||||
BETAGROUP
|
OMNIHIT
|
||||||
|
|
||||||
</Typography>
|
</Typography>
|
||||||
{user.id && <NotificationsPopOver />}
|
{user.id && <NotificationsPopOver />}
|
||||||
|
|
|
@ -143,7 +143,7 @@ const Login = () => {
|
||||||
component={RouterLink}
|
component={RouterLink}
|
||||||
to="/signup"
|
to="/signup"
|
||||||
>
|
>
|
||||||
{i18n.t("login.buttons.register")}
|
{/* {i18n.t("login.buttons.register")} */}
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|