arrow-spacing
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Javi Gallego 2021-02-10 08:13:45 +01:00
parent 3a3dae179c
commit f87ea1b051
4 changed files with 4 additions and 4 deletions

View File

@ -35,4 +35,4 @@ rules:
space-in-parens: ["error", "never"] space-in-parens: ["error", "never"]
jasmine/no-focused-tests: 0 jasmine/no-focused-tests: 0
jasmine/prefer-toHaveBeenCalledWith: 0 jasmine/prefer-toHaveBeenCalledWith: 0
arrow-spacing: { "before": true, "after": true } arrow-spacing: ["error", { "before": true, "after": true }]

View File

@ -172,5 +172,5 @@
"New ticket request has been created": "Se ha creado una nueva petición de compra *'{{description}}'* para el día *{{shipped}}*, con una cantidad de *{{quantity}}*", "New ticket request has been created": "Se ha creado una nueva petición de compra *'{{description}}'* para el día *{{shipped}}*, con una cantidad de *{{quantity}}*",
"That item doesn't exists": "Ese artículo no existe", "That item doesn't exists": "Ese artículo no existe",
"There's a new urgent ticket": "Hay un nuevo ticket urgente: [{{title}}](https://cau.verdnatura.es/WorkOrder.do?woMode=viewWO&woID={{issueId}})", "There's a new urgent ticket": "Hay un nuevo ticket urgente: [{{title}}](https://cau.verdnatura.es/WorkOrder.do?woMode=viewWO&woID={{issueId}})",
"Compensation account is empty": "La cuenta para compensar esta vacia" "Compensation account is empty": "La cuenta para compensar está vacia"
} }

View File

@ -37,7 +37,7 @@ class Controller extends Component {
}; };
filter = encodeURIComponent(JSON.stringify(filter)); filter = encodeURIComponent(JSON.stringify(filter));
let query = `Clients?filter=${filter}`; let query = `Clients?filter=${filter}`;
this.$http.get(query).then(res => { this.$http.get(query).then(res=> {
if (res.data) { if (res.data) {
let client = res.data[0]; let client = res.data[0];
let defaultAddress = client.defaultAddress; let defaultAddress = client.defaultAddress;

View File

@ -1,7 +1,7 @@
const app = require('vn-loopback/server/server'); const app = require('vn-loopback/server/server');
let UserError = require('vn-loopback/util/user-error'); let UserError = require('vn-loopback/util/user-error');
fdescribe('ticket new()', () => { describe('ticket new()', () => {
let ticket; let ticket;
let today = new Date(); let today = new Date();
let ctx = {req: {accessToken: {userId: 1}}}; let ctx = {req: {accessToken: {userId: 1}}};