Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
[http] fix a bug with creating/deleting pinned messages
Browse files Browse the repository at this point in the history
  • Loading branch information
b1naryth1ef committed Aug 30, 2017
1 parent 530a79f commit 1452927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disco/api/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class Routes(object):
CHANNELS_INVITES_LIST = (HTTPMethod.GET, CHANNELS + '/invites')
CHANNELS_INVITES_CREATE = (HTTPMethod.POST, CHANNELS + '/invites')
CHANNELS_PINS_LIST = (HTTPMethod.GET, CHANNELS + '/pins')
CHANNELS_PINS_CREATE = (HTTPMethod.PUT, CHANNELS + '/pins/{pin}')
CHANNELS_PINS_DELETE = (HTTPMethod.DELETE, CHANNELS + '/pins/{pin}')
CHANNELS_PINS_CREATE = (HTTPMethod.PUT, CHANNELS + '/pins/{message}')
CHANNELS_PINS_DELETE = (HTTPMethod.DELETE, CHANNELS + '/pins/{message}')
CHANNELS_WEBHOOKS_CREATE = (HTTPMethod.POST, CHANNELS + '/webhooks')
CHANNELS_WEBHOOKS_LIST = (HTTPMethod.GET, CHANNELS + '/webhooks')

Expand Down

0 comments on commit 1452927

Please sign in to comment.