mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
debug
This commit is contained in:
@@ -6,7 +6,7 @@ async function getDailyStats() {
|
||||
const commands = await DockerCommand.query().where('created_at', '>', new Date().getTime())
|
||||
const {data} = await axios.get('https://wakatime.com/api/v1/users/arthurdanjou/stats/last_7_days')
|
||||
const builds = await DockerBuild.query().where('created_at', '>', new Date().getTime())
|
||||
console.log('daily : ' + data)
|
||||
console.log('daily : ' + data.data)
|
||||
|
||||
return {
|
||||
development_hours: data.data[0].grand_total.total_seconds / 60 / 60,
|
||||
|
||||
Reference in New Issue
Block a user