Update sleep delay
This commit is contained in:
parent
fb6e3ba82a
commit
742f6e2f78
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const getAllAssignments = userId =>
|
||||||
});
|
});
|
||||||
|
|
||||||
const getAssignmentById = assignmentId =>
|
const getAssignmentById = assignmentId =>
|
||||||
sleep(4000).then(() => {
|
sleep(400).then(() => {
|
||||||
console.log('Getting assignment by id ' + assignmentId);
|
console.log('Getting assignment by id ' + assignmentId);
|
||||||
return {
|
return {
|
||||||
data: allAssignments.filter(a => a.id === assignmentId)[0],
|
data: allAssignments.filter(a => a.id === assignmentId)[0],
|
||||||
|
|
Loading…
Reference in a new issue