Browse Source

Add getMe method

pull/341/head
Hironsan 5 years ago
parent
commit
6aa1847fee
1 changed files with 4 additions and 0 deletions
  1. 4
      frontend/services/user.service.js

4
frontend/services/user.service.js

@ -5,6 +5,10 @@ class UserService {
this.request = ApiService this.request = ApiService
} }
getMe() {
return this.request.get('/me')
}
getUserList(query) { getUserList(query) {
return this.request.get(`/users?q=${query}`) return this.request.get(`/users?q=${query}`)
} }

Loading…
Cancel
Save