Correção de conflito do merge

pull/1/head
adriano 2022-02-22 17:43:09 -03:00
commit 3da9f39a62
13 changed files with 19 additions and 21 deletions

View File

@ -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
});
} }
} }

View File

@ -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}`);
} }
}; };

View File

@ -20,10 +20,9 @@ export const StartWhatsAppSession = async (
const wbot = await initWbot(whatsapp); const wbot = await initWbot(whatsapp);
wbotMessageListener(wbot); wbotMessageListener(wbot);
wbotMonitor(wbot, whatsapp); wbotMonitor(wbot, whatsapp);
} catch (err) { } catch (err) {
console.error(err ) logger.error(`${err}`);
logger.error(err);
} }
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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" />

View File

@ -1,6 +1,6 @@
{ {
"short_name": "GrupoHit", "short_name": "OmniHit",
"name": "GrupoHit", "name": "OmniHit",
"icons": [ "icons": [
{ {
"src": "favicon.ico", "src": "favicon.ico",

View File

@ -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>

View File

@ -218,9 +218,9 @@ const LoggedInLayout = ({ children }) => {
color="inherit" color="inherit"
noWrap noWrap
className={classes.title} className={classes.title}
> >
BETAGROUP OMNIHIT
</Typography> </Typography>
{user.id && <NotificationsPopOver />} {user.id && <NotificationsPopOver />}

View File

@ -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>