Skip to content

Commit

Permalink
chore: update route
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Aug 22, 2023
1 parent 16078b3 commit 450e819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/discord.js/src/structures/ClientApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ class ClientApplication extends Application {
interactionsEndpointURL,
tags,
} = {}) {
// TODO: `Routes.currentApplication()` (/~https://github.com/discordjs/discord-api-types/pull/728)
const data = await this.client.rest.patch('/applications/@me', {
const data = await this.client.rest.patch(Routes.currentApplication(), {
body: {
custom_install_url: customInstallURL,
description,
Expand Down

0 comments on commit 450e819

Please sign in to comment.