mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
add cron job to sync currencies once in 24 hours
This commit is contained in:
@@ -14,7 +14,7 @@ Initializes Dependency Injection modules for services
|
||||
Args:
|
||||
*dig.Container: Dig Container
|
||||
*/
|
||||
func InitializeServices(c *dig.Container) {
|
||||
func InitializeServices(c *dig.Scope) {
|
||||
repository.InitializeRepositories(c)
|
||||
|
||||
c.Provide(NewApiService)
|
||||
@@ -25,4 +25,5 @@ func InitializeServices(c *dig.Container) {
|
||||
c.Provide(NewTransactionTypeService)
|
||||
c.Provide(NewUserService)
|
||||
c.Provide(NewWalletService)
|
||||
c.Provide(NewCurrencyService)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user