Skip to content

Commit

Permalink
fix: remove prototype suffix from authenticated athlete endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoyze authored and markstos committed Aug 23, 2023
1 parent 87d7076 commit fb3a7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/athlete.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var _updateAllowedProps = [

//= ==== athlete endpoint =====
athlete.prototype.get = function (args, done) {
var endpoint = 'athlete.prototype'
var endpoint = 'athlete'
return this.client.getEndpoint(endpoint, args, done)
}
athlete.prototype.listActivities = function (args, done) {
Expand Down

0 comments on commit fb3a7cc

Please sign in to comment.