Skip to content

Commit

Permalink
dumps: hokakuHTTPHandler -> proxyHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow committed Jan 16, 2024
1 parent 6b64583 commit 283f30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/upload-network-dump.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function uploadNetworkDumpHandler(interaction) {
result = await hokakuPCAPHandler(interaction);
break;
case 'http':
result = await hokakuHTTPHandler(interaction);
result = await proxyHandler(interaction);
break;
default:
throw new Error(`Unhandled subcommand ${subcommand}`);
Expand Down Expand Up @@ -216,7 +216,7 @@ async function hokakuPCAPHandler(interaction) {
*
* @param {Discord.CommandInteraction} interaction
*/
async function hokakuHTTPHandler(interaction) {
async function proxyHandler(interaction) {
const dump = interaction.options.getAttachment('dump');
const description = interaction.options.getString('description');

Expand Down

0 comments on commit 283f30f

Please sign in to comment.