Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
histhub
api
Commits
96e6a4c0
Commit
96e6a4c0
authored
Aug 06, 2019
by
Tobias Steiner
Browse files
Add logs
parent
c9cd36f4
Pipeline
#3075
passed with stage
in 2 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/utils/response-collector.ts
View file @
96e6a4c0
...
...
@@ -59,6 +59,8 @@ export class ResponseCollector {
const
a
=
{};
try
{
const
provider
=
await
UrlResolver
.
getProvider
(
d
,
this
.
language
);
console
.
log
(
'
provider
'
+
provider
);
console
.
log
(
'
url
'
+
d
);
a
[
provider
]
=
d
;
return
a
;
}
catch
{
...
...
@@ -67,6 +69,7 @@ export class ResponseCollector {
}
}));
}
console
.
log
(
'
data
'
,
data
);
if
(
Array
.
isArray
(
this
.
finalData
.
data
[
data
.
name
]))
{
this
.
finalData
.
data
[
data
.
name
].
push
(
data
.
data
);
...
...
@@ -74,6 +77,7 @@ export class ResponseCollector {
this
.
finalData
.
data
[
data
.
name
]
=
data
.
data
;
}
console
.
log
(
'
finalData
'
,
this
.
finalData
);
}
}
...
...
Write
Preview
Supports
Markdown
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