aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users/user.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/users/user.service.ts')
-rw-r--r--client/src/app/shared/users/user.service.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/shared/users/user.service.ts b/client/src/app/shared/users/user.service.ts
index 58ddaa5ee..742fb0728 100644
--- a/client/src/app/shared/users/user.service.ts
+++ b/client/src/app/shared/users/user.service.ts
@@ -48,11 +48,10 @@ export class UserService {
48 .catch(res => this.restExtractor.handleError(res)) 48 .catch(res => this.restExtractor.handleError(res))
49 } 49 }
50 50
51 getMyInformation () { 51 getMyVideoQuotaUsed () {
52 const url = UserService.BASE_USERS_URL + 'me' 52 const url = UserService.BASE_USERS_URL + '/me/video-quota-used'
53 53
54 return this.authHttp.get(url) 54 return this.authHttp.get(url)
55 .map((userHash: any) => new User(userHash))
56 .catch(res => this.restExtractor.handleError(res)) 55 .catch(res => this.restExtractor.handleError(res))
57 } 56 }
58} 57}