mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: types of analytics
This commit is contained in:
parent
073f8585bd
commit
7b929a0d77
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { version } from '../package.json'
|
||||
import { Middleware } from 'driver/connect.js'
|
||||
import { Middleware, Method } from 'driver/connect.js'
|
||||
// TODO: set this through ENV or something else
|
||||
const LOG_ENDPOINT = 'https://enix.one/gitako/log'
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ export const withErrorLog: Middleware = function withErrorLog(method, args) {
|
|||
} catch (error) {
|
||||
raiseError(error)
|
||||
}
|
||||
},
|
||||
} as any, // TOFIX: not sure how to fix this yet
|
||||
args,
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue