Skip to content

Commit db2791e

Browse files
polatenginmawasile
andauthored
Update internal/powerplatform/services/data_record/api_data_record.go
Co-authored-by: mawasile <[email protected]>
1 parent 73b4721 commit db2791e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/powerplatform/services/data_record/api_data_record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func (client *DataRecordClient) GetRelationData(ctx context.Context, recordId st
155155

156156
field, ok := result["value"]
157157
if !ok {
158-
return nil, fmt.Errorf("value field not found in result")
158+
return nil, fmt.Errorf("value field not found in result when retrieving relational data")
159159
}
160160

161161
value, ok := field.([]interface{})

0 commit comments

Comments
 (0)