mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Create method in libraries API should return the created library not an array containing only the created library. This was confirmed by dannon in the comments on issue 802.
This commit is contained in:
@@ -98,7 +98,7 @@ class LibrariesController( BaseAPIController ):
|
||||
rval['url'] = url_for( 'library', id=encoded_id )
|
||||
rval['name'] = name
|
||||
rval['id'] = encoded_id
|
||||
return [ rval ]
|
||||
return rval
|
||||
|
||||
@web.expose_api
|
||||
def delete( self, trans, id, **kwd ):
|
||||
|
||||
Reference in New Issue
Block a user