Skip to content

Commit 04a2f86

Browse files
test onRequest
1 parent 2bdf7a5 commit 04a2f86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

composables/upload_file.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export async function upload_file(
2222
return useFetch(route, {
2323
baseURL: geode_store.base_url,
2424
...request_options,
25+
onRequest({ request }) {
26+
console.log("onRequest", request)
27+
},
2528
onRequestError({ error }) {
2629
console.log("onRequestError", error)
2730
geode_store.stop_request()

0 commit comments

Comments
 (0)