Skip to content

Commit

Permalink
fix(me): fix deleteAccount function to use delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvdkolk committed Apr 10, 2022
1 parent bf4e3ea commit b32a028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/me/MeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class MeManager extends Manager {
}

deleteAccount(): Promise<Response> {
return this.http.post('/me');
return this.http.delete('/me');
}

async socialMediaConnections(): Promise<statsfm.UserSocialMediaConnection[]> {
Expand Down

0 comments on commit b32a028

Please sign in to comment.