feat(ticket): refine repair report and history timeline UI
This commit is contained in:
10
src/services/api/media.service.ts
Normal file
10
src/services/api/media.service.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import axiosClient from '../axios/axios';
|
||||
|
||||
export const protectedMediaService = {
|
||||
getBlob: async (url: string): Promise<Blob> => {
|
||||
const response = await axiosClient.get<Blob>(url, {
|
||||
responseType: 'blob',
|
||||
});
|
||||
return response.data;
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user