Commit 3e28501b authored by Luna's avatar Luna 📟

run: replace other/peer to user

 - discord_endpoints: remove ambiguity on PUT/PATCH Modify Channel route
parent 437f8de6
Pipeline #37297823 passed with stage
in 6 minutes and 6 seconds
......@@ -69,7 +69,7 @@ Group DM Remove Recipient DELETE /channels/{channel.id}/recip
Leave Guild DELETE /users/@me/guilds/{guild.id}
List Guild Members GET /guilds/{guild.id}/members
List Voice Regions GET /voice/regions
Modify Channel PUT/PATCH /channels/{channel.id}
Modify Channel PATCH /channels/{channel.id}
Modify Current User PATCH /users/@me
Modify Current User's Nick PATCH /guilds/{guild.id}/members/@me/nick
Modify Guild PATCH /guilds/{guild.id}
......
......@@ -235,6 +235,8 @@ async def api_index(app):
path = path.replace('member.id', 'user.id')
path = path.replace('banned.id', 'user.id')
path = path.replace('target.id', 'user.id')
path = path.replace('other.id', 'user.id')
path = path.replace('peer.id', 'user.id')
methods = rule.methods
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment