Skip to content

Commit

Permalink
web: fix typo in albums endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Feb 27, 2014
1 parent 4228628 commit 472571a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def all_albums():
@app.route('/album/query/<query:queries>')
@resource_query('albums')
def album_query(queries):
return g.lib.album(queries)
return g.lib.albums(queries)

@app.route('/album/<int:album_id>/art')
def album_art(album_id):
Expand Down

0 comments on commit 472571a

Please sign in to comment.