Commit Graph
1 Commits
Author SHA1 Message Date
petar.nikolovski acf6b121c9 Fetch correct value for name variable in gitea_repo data source (#9)
Hi all,

I've noticed that data source for `gitea_repo` is not working. Instead of trying to fetch data from `/api/v1/repos/<username>/<name>` it sends a reques as `/api/v1/repos/<username>/<username>`. I've updated the code to fix this.

Signed-off-by: petar.nikolovski <[email protected]>

Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/9
Reviewed-by: techknowlogick <[email protected]>
Co-authored-by: petar.nikolovski <[email protected]>
Co-committed-by: petar.nikolovski <[email protected]>
2023-09-05 14:31:48 +00:00