make location service multi-tenant (#123)

* make location service multi-tenant

* meters
This commit is contained in:
Asim Aslam
2021-05-24 11:47:51 +01:00
committed by GitHub
parent d80c922b53
commit 9f2b30a9b3
3 changed files with 45 additions and 10 deletions

View File

@@ -16,6 +16,6 @@ type Location struct{}
func (g *Location) Handle(ctx context.Context, e *proto.Entity) error {
log.Printf("Saving entity ID %s", e.Id)
domain.Save(domain.ProtoToEntity(e))
domain.Save(ctx, domain.ProtoToEntity(e))
return nil
}