mirror of https://gitlab.com/litecord/litecord.git
run: replace other/peer to user
- discord_endpoints: remove ambiguity on PUT/PATCH Modify Channel route
This commit is contained in:
parent
437f8de643
commit
3e28501bdb
|
|
@ -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}
|
||||
|
|
|
|||
2
run.py
2
run.py
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue