File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ const fetchTasks = async () => {
80
80
const dependencySnapshot = await dependencyModel . where ( "taskId" , "==" , taskId ) . get ( ) ;
81
81
task . dependsOn = [ ] ;
82
82
dependencySnapshot . docs . forEach ( ( doc ) => {
83
- const dependency = doc . get ( "dependency " ) ;
83
+ const dependency = doc . get ( "dependsOn " ) ;
84
84
task . dependsOn . push ( dependency ) ;
85
85
} ) ;
86
86
return task ;
@@ -126,7 +126,7 @@ const fetchTask = async (taskId) => {
126
126
const task = await tasksModel . doc ( taskId ) . get ( ) ;
127
127
const dependencySnapshot = await dependencyModel . where ( "taskId" , "==" , taskId ) . get ( ) ;
128
128
const dependencyDocReference = dependencySnapshot . docs . map ( ( doc ) => {
129
- const dependency = doc . get ( "dependency " ) ;
129
+ const dependency = doc . get ( "dependsOn " ) ;
130
130
return dependency ;
131
131
} ) ;
132
132
const taskData = await fromFirestoreData ( task . data ( ) ) ;
You can’t perform that action at this time.
0 commit comments