File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module.exports = async function check() {
1313 const subdomain = response . subdomain . toLowerCase ( ) ;
1414
1515 fetch (
16- `https://api.github.com/repos/is-a-good-dev/register/contents/sub-logs /${ subdomain } .json` ,
16+ `https://api.github.com/repos/is-a-good-dev/register/contents/domains /${ subdomain } .json` ,
1717 {
1818 method : "GET" ,
1919 headers : {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ let fullContent = `{
6767 const contentEncoded = Base64 . encode ( fullContent ) ;
6868
6969 fetch (
70- `https://api.github.com/repos/is-a-good-dev/register/contents/sub-logs /${ subdomain } .json` ,
70+ `https://api.github.com/repos/is-a-good-dev/register/contents/domains /${ subdomain } .json` ,
7171 {
7272 method : "GET" ,
7373 headers : {
@@ -80,7 +80,7 @@ let fullContent = `{
8080 . request ( "PUT /repos/{owner}/{repo}/contents/{path}" , {
8181 owner : username ,
8282 repo : forkName ,
83- path : "sub-logs /" + subdomain + ".json" ,
83+ path : "domains /" + subdomain + ".json" ,
8484 message : `feat(domain): add \`${ subdomain } .is-a-good.dev\`` ,
8585 content : contentEncoded
8686 } )
You can’t perform that action at this time.
0 commit comments