Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d6e38e53
authored
Jun 05, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issue
#262
fixed
parent
1db262f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/src/api/controllers/TryController.js
sails/src/api/controllers/TryController.js
View file @
d6e38e53
...
@@ -30,7 +30,7 @@ module.exports = {
...
@@ -30,7 +30,7 @@ module.exports = {
var
params
=
req
.
allParams
();
var
params
=
req
.
allParams
();
if
(
!
params
.
id
)
return
res
.
badRequest
(
"No try defined"
);
if
(
!
params
.
id
)
return
res
.
badRequest
(
"No try defined"
);
if
(
params
.
end
)
prams
.
end
=
new
Date
().
toISOString
();
if
(
params
.
end
)
p
a
rams
.
end
=
new
Date
().
toISOString
();
Try
.
update
(
params
.
id
,
params
)
Try
.
update
(
params
.
id
,
params
)
.
then
(
function
(
t
)
{
.
then
(
function
(
t
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment