Skip to content

Commit

Permalink
Use ODataType as-is if not recognised
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismilson committed Sep 20, 2023
1 parent f4ac959 commit 49a11d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func directoryObjectDataSourceRead(ctx context.Context, d *schema.ResourceData,
case odata.TypeServicePrincipal:
tf.Set(d, "type", "ServicePrincipal")
default:
tf.Set(d, "type", directoryObject.ODataShortType)
tf.Set(d, "type", directoryObject.ODataType)
}

return nil
Expand Down

0 comments on commit 49a11d5

Please sign in to comment.