mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-02 05:04:25 +01:00
fix(api:transactions): wrong schema definition for TransactionCategory
This commit is contained in:
1 parent
6dc14c73d6
commit
46eb471a34
1 file changed
+4
-1
@@ -41,7 +41,10 @@ class TransactionCategoryField(serializers.Field):
|
||||
def get_schema():
|
||||
return {
|
||||
"type": "array",
|
||||
"items": {"type": "string", "description": "TransactionTag ID or name"},
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TransactionCategory ID or name",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user