Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid.

This commit is contained in:
markjcrane
2015-11-25 08:51:54 -07:00
parent b562c4e5ec
commit 89c2f4ecb5
6 changed files with 25 additions and 25 deletions

View File

@@ -9,10 +9,10 @@
local Settings = require "resources.functions.lazy_settings"
local Tasks = require "fax_queue.tasks"
local task_uuid = env:getHeader('task_uuid')
local task = Tasks.select_task(task_uuid)
local fax_task_uuid = env:getHeader('fax_task_uuid')
local task = Tasks.select_task(fax_task_uuid)
if not task then
log.warningf("Can not find fax task: %q", tostring(task_uuid))
log.warningf("Can not find fax task: %q", tostring(fax_task_uuid))
return
end