Switched the logic to create a repository using api/v1/orgs/OWNER/repos. Adapt the test case to check if there is an org too

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
cmoulliard
2024-01-03 15:18:58 +01:00
parent 3a40f3c5df
commit 701eefc71e
3 changed files with 75 additions and 20 deletions
+1
View File
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import { GiteaIntegrationConfig } from './config';
import { Logger } from 'winston';
/**
* Given a URL pointing to a file, returns a URL