diff --git a/README.md b/README.md index 0708c0f..61dff1e 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ await $fetch('/api', { console.log('[fetch request]', request, options) // Add `?t=1640125211170` to query search params - options.query = options.query + options.query = options.query || {} options.query.t = new Date() } })