chore: remove extension from LICENSE file

Also slight refactor for NewBaseServiceRequest
This commit is contained in:
2025-08-01 16:43:20 -05:00
parent 7081d06001
commit a8d4cefaab
2 changed files with 5 additions and 3 deletions

View File

View File

@@ -45,13 +45,15 @@ type BaseServiceRequest struct {
} }
func NewBaseServiceRequest(entityId string) BaseServiceRequest { func NewBaseServiceRequest(entityId string) BaseServiceRequest {
bsr := BaseServiceRequest{
id := internal.NextId() id := internal.NextId()
request := BaseServiceRequest{
Id: id, Id: id,
RequestType: "call_service", RequestType: "call_service",
} }
if entityId != "" { if entityId != "" {
bsr.Target.EntityId = entityId request.Target.EntityId = entityId
} }
return bsr
return request
} }