mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 15:05:01 +00:00
make location service multi-tenant (#123)
* make location service multi-tenant * meters
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user