mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: show running game on sidebar
This commit is contained in:
parent
e933cec888
commit
4a59a52174
13 changed files with 85 additions and 12 deletions
|
|
@ -27,8 +27,6 @@ const updateProfile = async (
|
|||
displayName: string,
|
||||
newProfileImagePath: string | null
|
||||
): Promise<UserProfile> => {
|
||||
console.log(newProfileImagePath);
|
||||
|
||||
if (!newProfileImagePath) {
|
||||
return (await patchUserProfile(displayName)).data;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ export class HydraApi {
|
|||
this.instance.interceptors.request.use(
|
||||
(request) => {
|
||||
console.log(" ---- REQUEST -----");
|
||||
console.log(request.method, request.url, request.data);
|
||||
console.log(request.method, request.url, request.headers, request.data);
|
||||
return request;
|
||||
},
|
||||
(error) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue