diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-12 23:52:26 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-12 23:52:26 -0400 |
| commit | a38f778312b392614ec0ccf14f9f2790671b63eb (patch) | |
| tree | 202dd4df5d1418c285c348f2f1366d339f99a6f0 /apiv1.go | |
| parent | a8684a6aade6bac962da35a96e14667cca3c44c5 (diff) | |
| download | lastfm-api-a38f778312b392614ec0ccf14f9f2790671b63eb.tar.gz | |
Abstract all DB access via DataStore, fix lfm_password bug
Diffstat (limited to 'apiv1.go')
| -rw-r--r-- | apiv1.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ func (app *App) mainHandler(w http.ResponseWriter, r *http.Request) { user := r.FormValue("u") auth := r.FormValue("a") - userId, password, err := app.GetUser(user) + userId, password, err := app.GetScrobblingUser(user) if (md5hex(password+timestamp) != auth) || err != nil { fmt.Fprintln(w, "BADAUTH") return |
