parent
dedac3d930
commit
6ce15b9874
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ async function exportCodesListToGit(
|
|||
{ headers: { Accept: "application/json" } },
|
||||
)
|
||||
if (response.status === 404) {
|
||||
// Create respository.
|
||||
// Create repository.
|
||||
const url = new URL(`/api/v1/orgs/codes/repos`, forgejo.url).toString()
|
||||
const response = await fetch(url, {
|
||||
body: JSON.stringify(
|
||||
|
|
|
@ -122,7 +122,7 @@ async function exportConsolidatedTextsToGit(
|
|||
{ headers: { Accept: "application/json" } },
|
||||
)
|
||||
if (response.status === 404) {
|
||||
// Create respository.
|
||||
// Create repository.
|
||||
const url = new URL(
|
||||
`/api/v1/orgs/${consolidatedTextNatureDirName}/repos`,
|
||||
forgejo.url,
|
||||
|
|
Loading…
Add table
Reference in a new issue