diff options
| author | Austin Hellyer <[email protected]> | 2016-11-09 20:26:31 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-09 20:26:31 -0800 |
| commit | 604c8d4450cab6e78faa6ebffd611fa053495c32 (patch) | |
| tree | 6204016f4510cc3fabaa3f0dc2bddd1c89eb0a22 | |
| parent | Add REST error code enum (diff) | |
| download | serenity-604c8d4450cab6e78faa6ebffd611fa053495c32.tar.xz serenity-604c8d4450cab6e78faa6ebffd611fa053495c32.zip | |
Correctly decode Group channel IDs
Group channel IDs are mapped from the `id` key. However, the YAML
definition tried to map it to a `channel_id` field without a `from`
key. The `from` key of `id` will properly map to `channel_id`.
| -rw-r--r-- | definitions/structs/group.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/definitions/structs/group.yml b/definitions/structs/group.yml index dc1ead0..62b0029 100644 --- a/definitions/structs/group.yml +++ b/definitions/structs/group.yml @@ -3,6 +3,7 @@ name: Group definition: A group channel, potentially including other users, separate from a server. fields: - name: channel_id + from: id type: ChannelId - name: icon optional: true |