diff --git a/cmd/webapi/__debug_bin b/cmd/webapi/__debug_bin deleted file mode 100755 index 7110eaf..0000000 Binary files a/cmd/webapi/__debug_bin and /dev/null differ diff --git a/service/database/db-profile.go b/service/database/db-profile.go index 7781793..21699fa 100644 --- a/service/database/db-profile.go +++ b/service/database/db-profile.go @@ -40,7 +40,7 @@ func (db *appdbimpl) GetUserProfile(uid string, requesting_uid string) (QueryRes } var photos int64 - err = db.c.QueryRow(`SELECT COUNT(*) FROM "photos" WHERE "photos"."user" = ?`, uid).Scan(&following) + err = db.c.QueryRow(`SELECT COUNT(*) FROM "photos" WHERE "photos"."user" = ?`, uid).Scan(&photos) if err != nil { return ERR_INTERNAL, nil, err