Skip to content

Commit

Permalink
path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucastozo committed Mar 9, 2024
1 parent 44b142d commit 1182475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/send-changes-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = async (req, res) =>
}

const owner = 'lucastozo';
const repo = 'VercelAlvo';
const repo = 'DemonlistBR';
let path;
switch (dataMode)
{
Expand All @@ -43,7 +43,7 @@ module.exports = async (req, res) =>
}
const message = 'List Changes';
const content = Buffer.from(changes).toString('base64');
const branch = 'copy';
const branch = 'list-changes-commits';

// Obter a lista de pull requests
const { data: pullRequests } = await axios.get(`https://api.github.com/repos/${owner}/${repo}/pulls`, {
Expand Down Expand Up @@ -103,7 +103,7 @@ module.exports = async (req, res) =>
const horario = new Date().toLocaleString('pt-BR', { timeZone: 'America/Sao_Paulo' });
const title = 'List Changes';
const bodyPR = `Gerado automaticamente por DLBRauto em ${horario} (SP).\nAlterações feitas por: ${userName}\n\n${changelog}`;
const head = 'copy';
const head = 'list-changes-commits';
const base = 'main';
const url = `https://api.github.com/repos/${owner}/${repo}/pulls`;

Expand Down

0 comments on commit 1182475

Please sign in to comment.