3
0

upd(messaging): update api docs and spec

This commit is contained in:
Tit Petric
2019-02-05 14:20:35 +01:00
parent 7e04d9fc3a
commit 675b52e642
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
"Struct": [
{
"imports": [
"github.com/crusttech/crust/internal/rbac"
"github.com/crusttech/crust/internal/rules"
]
}
],
@@ -73,7 +73,7 @@
"name": "permissions",
"required": true,
"title": "List of permissions to set",
"type": "[]rbac.Permission"
"type": "[]rules.Permission"
}
]
}
+1 -1
View File
@@ -492,7 +492,7 @@ The following event types may be sent with a message event:
| Parameter | Type | Method | Description | Default | Required? |
| --------- | ---- | ------ | ----------- | ------- | --------- |
| team | string | PATH | Team ID | N/A | YES |
| permissions | []rbac.Permission | POST | List of permissions to set | N/A | YES |
| permissions | []rules.Permission | POST | List of permissions to set | N/A | YES |