From 7a86beb16a531ccf9702112f45b439f515286144 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Wed, 22 Aug 2018 14:38:19 +0200 Subject: [PATCH] #546 services/loopback/common/methods/ticket/list.js Backend unit tests --- .../loopback/common/methods/ticket/list.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 services/loopback/common/methods/ticket/list.js diff --git a/services/loopback/common/methods/ticket/list.js b/services/loopback/common/methods/ticket/list.js deleted file mode 100644 index 22567838e..000000000 --- a/services/loopback/common/methods/ticket/list.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = function(Ticket) { - Ticket.remoteMethod('list', { - description: 'List tickets for production', - returns: { - arg: 'tickets', - type: 'object' - }, - http: { - verb: 'get', - path: '/list' - } - }); - - Ticket.list = function(cb) { - var params = [1, 0]; - var query = 'CALL production_control_source(?, ?)'; - Ticket.rawSql(query, params, cb); - }; -};