Skip to content

Commit

Permalink
[FIX]: Issue-1498 (#1500)
Browse files Browse the repository at this point in the history
Co-authored-by: Keegan Campbell <[email protected]>
  • Loading branch information
pradeepbhadani and kfcampbell authored Jan 21, 2023
1 parent c5cfce0 commit 543774c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/resource_github_team_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ func resourceGithubTeamRepositoryRead(d *schema.ResourceData, meta interface{})
if err != nil {
return err
}
teamId, err := strconv.ParseInt(teamIdString, 10, 64)
teamId, err := getTeamID(teamIdString, meta)
if err != nil {
return unconvertibleIdErr(teamIdString, err)
return err
}
orgName := meta.(*Owner).name
ctx := context.WithValue(context.Background(), ctxId, d.Id())
Expand Down

0 comments on commit 543774c

Please sign in to comment.