chore: reformat code (#2903)
This commit is contained in:
@@ -16,7 +16,6 @@ export type Method =
|
||||
|
||||
/**
|
||||
* Parse route parameters for responseType
|
||||
*
|
||||
*/
|
||||
const reg = /:[a-z|A-Z]+/g;
|
||||
|
||||
@@ -75,6 +74,7 @@ export async function request({
|
||||
// @ts-ignore
|
||||
...config
|
||||
});
|
||||
|
||||
return response.json();
|
||||
}
|
||||
|
||||
@@ -123,4 +123,4 @@ export const webapi = {
|
||||
}
|
||||
};
|
||||
|
||||
export default webapi
|
||||
export default webapi
|
||||
|
||||
Reference in New Issue
Block a user