add cron job to sync currencies once in 24 hours

This commit is contained in:
Fran Jurmanović
2023-04-13 18:10:21 +02:00
parent cf1d4f8b1a
commit 84b00a9ddf
22 changed files with 407 additions and 25 deletions

View File

@@ -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)
}