chore: add cast commands for testing purpose

This commit is contained in:
2023-04-05 15:12:51 +02:00
parent f08f645432
commit 84c8fd51f6
15 changed files with 135 additions and 22 deletions

View File

@ -200,7 +200,7 @@ func getServerModules(bus bus.Bus, ds storage.DocumentStore, bs storage.BlobStor
},
),
appModule.ModuleFactory(appModuleMemory.NewRepository(
func(ctx context.Context, i app.ID) (string, error) {
func(ctx context.Context, id app.ID, from string) (string, error) {
if strings.HasPrefix(address, ":") {
address = "0.0.0.0" + address
}