diff options
author | set <set> | 2020-08-28 15:35:10 +0200 |
---|---|---|
committer | set <set> | 2020-08-28 15:35:10 +0200 |
commit | 8daf41569c8a4d04db9fdfb8c01cdec49bba4eef (patch) | |
tree | fd49f0fb574f162ba10deb1c5066049551dd9748 | |
parent | 33e148be1c9cccd38c4c38ae7a2b4f65a84974c1 (diff) | |
download | n_core-8daf41569c8a4d04db9fdfb8c01cdec49bba4eef.tar.gz n_core-8daf41569c8a4d04db9fdfb8c01cdec49bba4eef.zip |
fixed type error for session id default value (it is a string with the value "null", not the json-value null
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ All messages may optionally include an `session` field. When you authorize again |-------|------|-------------| | `command` | string | The command N core should handle | | `arguments` | string | The arguments to the command (i.e. all remaining text in the message - can be empty) | -| `session` | string | The session id, should default to `null` | +| `session` | string | The session id, should default to `"null"` | ### answer The answer consists of an array of `reply` objects, an `success`-flag and a `session`-id provided by N core. @@ -24,7 +24,7 @@ JSON object overview: |-------|------|-------------| | `reply` | array of `reply`-objects | The reply from N core | | `success` | bool | Whether the command was successful | -| `session` | string | A session id, defaults to `null` | +| `session` | string | A session id, defaults to `"null"` | #### `reply` The `reply` object: |