File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ async def get_network(run_id):
172
172
173
173
174
174
# return a list of all possible registered machines
175
- @app .get ('/v1/machines/ ' )
175
+ @app .get ('/v1/machines' )
176
176
async def get_machines ():
177
177
178
178
data = get_machine_list ()
Original file line number Diff line number Diff line change 1
1
( async ( ) => {
2
2
try {
3
- var machines_json = await makeAPICall ( '/v1/machines/ ' ) ;
3
+ var machines_json = await makeAPICall ( '/v1/machines' ) ;
4
4
5
5
machines_json . data . forEach ( machine => {
6
6
if ( machine [ 2 ] == false ) return ;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const populateMachines = async () => {
57
57
try {
58
58
const machines_select = document . querySelector ( 'select[name="machine_id"]' ) ;
59
59
60
- machines_data = ( await makeAPICall ( '/v1/machines/ ' ) )
60
+ machines_data = ( await makeAPICall ( '/v1/machines' ) )
61
61
machines_data . data . forEach ( machine => {
62
62
let newOption = new Option ( machine [ 1 ] , machine [ 0 ] ) ;
63
63
machines_select . add ( newOption , undefined ) ;
You can’t perform that action at this time.
0 commit comments