post review fixes
This commit is contained in:

committed by
Ali BARIN

parent
3f8f022d48
commit
6e80ff4eb6
@@ -3,7 +3,7 @@ import { IGlobalVariable, IJSONObject } from '@automatisch/types';
|
||||
const getCurrentUser = async ($: IGlobalVariable): Promise<IJSONObject> => {
|
||||
// ref: https://docs.gitlab.com/ee/api/users.html#list-current-user
|
||||
|
||||
const response = await $.http.get(`${$.auth.data.oInstanceUrl}/api/v4/user`);
|
||||
const response = await $.http.get('/api/v4/user');
|
||||
const currentUser = response.data;
|
||||
return currentUser;
|
||||
};
|
||||
|
Reference in New Issue
Block a user