Skip to content

Instantly share code, notes, and snippets.

View lucasdellasala's full-sized avatar
:shipit:
Focus

Lucas Della Sala lucasdellasala

:shipit:
Focus
View GitHub Profile
interface TestCase {
input: string;
expected: string;
solution: number;
}
const TEST_CASES: TestCase[] = [
{
input: 'aca',
expected: 'aaa',
@lucasdellasala
lucasdellasala / readme.md
Created June 9, 2021 14:00
README vtexarg.proxy-mailing-flow@0.1.0

Proxy Mailing Flow

This service allows you to handling the mailing to be able to cancel and generate orders without repeating notifications to the user.

Steps by step:

  1. First you have to disable transactional emails.
  2. You need to install this app running vtex install vtexarg.proxy-mailing-flow@0.x command on the vtex toolbelt.
  3. Then you must hook the order status changes to this service. You can see how to do this here.
repository.createCompetencia = (competencia) => {
const genero_id = competencia.genero == 0 ? null: competencia.genero;
const director_id = competencia.director == 0 ? null : competencia.director;
const actor_id = competencia.actor == 0 ? null : competencia.actor;
//Armando query de verificacion
var lista = ["Lucas", "Matías", "Nicolás", "Heidy", "Analía", "Pedro"];
exports.lista = lista;