Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

iurisilvio
Copy link
Contributor

@iurisilvio iurisilvio commented Aug 27, 2025

Description

We first try to get the project, then create a new project if it doesn't exist and after creating we get the project again.

The issue happens because on second get project, it gets from cache = null, failing the request.

With this change, we use the project returned after creation.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How has this change been tested, please provide a testcase or example of how you tested the change?

Tested local.

cursor[bot]

This comment was marked as outdated.

@iurisilvio iurisilvio self-assigned this Aug 27, 2025
@iurisilvio iurisilvio requested a review from tonylampada August 27, 2025 10:09
@iurisilvio iurisilvio changed the title Create Project object local instead of call API after create project Create Project object local instead of calling API after create project Aug 27, 2025
Copy link
Contributor

@digaobarbosa digaobarbosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the opportunity to udpate the docs to reflect the real parameter to be used on case of Private projects.

@iurisilvio iurisilvio merged commit c3b9e65 into main Aug 27, 2025
14 checks passed
@iurisilvio iurisilvio deleted the iuri/fix-create-project branch August 27, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants