This commit is contained in:
daniel.w 2024-09-03 17:52:44 +08:00
parent ba437e8352
commit 647e645d61
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func NewRepo() (*miniredis.Miniredis, repository.TimelineRepository, error) {
}{Expire: 86400, MaxLength: 1000}, }{Expire: 86400, MaxLength: 1000},
} }
timelineRepo := MustGenerateUseCase(TimelineRepositoryParam{ timelineRepo := MustGenerateRepository(TimelineRepositoryParam{
Config: c, Config: c,
Redis: *newRedis, Redis: *newRedis,
}) })