Skip to content

Commit

Permalink
fix: ValueStringPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Jun 14, 2024
1 parent 2eb4422 commit fce3d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/resource_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ func (r *AccountResource) Create(ctx context.Context, req resource.CreateRequest
input := AccountCreateInput{
AccountId: data.AccountId.ValueString(),
Name: data.Name.ValueString(),
Description: data.Description.ValueString(),
Description: data.Description.ValueStringPointer(),
Code: data.Code.ValueString(),
NormalBalanceType: normalBalanceType,
Status: status,
ExternalId: data.ExternalId.ValueString(),
ExternalId: data.ExternalId.ValueStringPointer(),
}

response, err := accountCreate(ctx, *r.client, input)
Expand Down

0 comments on commit fce3d4a

Please sign in to comment.