feat: add profile rank badges and guide
This commit is contained in:
@@ -271,6 +271,12 @@ class ApiClient {
|
||||
);
|
||||
}
|
||||
|
||||
async getMyGamification() {
|
||||
return this.request<Types.GamificationSummarySchema>("/api/gamification/me", {
|
||||
method: "GET",
|
||||
});
|
||||
}
|
||||
|
||||
async updateProfile(data: Types.UserUpdateSchema) {
|
||||
return this.request<Types.UserProfileSchema>('/api/auth/profile', {
|
||||
method: 'PUT',
|
||||
|
||||
Reference in New Issue
Block a user