Skip to content

Commit bd8e51f

Browse files
committed
bug(param): change from form to json the param location of new domain endpoint
1 parent 2a55213 commit bd8e51f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/modules/domain/parameters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
new_domain_data.add_argument('name',
2323
type = str,
2424
required = True,
25-
location = 'form',
25+
location = 'json',
2626
help = "Name of the field")
2727
new_domain_data.add_argument('tid',
2828
type = str,
2929
required = True,
30-
location = 'form',
30+
location = 'json',
3131
help = "Data Type ID")

0 commit comments

Comments
 (0)