@colisweb/rescript-toolkit 5.16.4 → 5.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/request/Request.res +2 -1
package/package.json
CHANGED
package/src/request/Request.res
CHANGED
|
@@ -275,11 +275,12 @@ let mutateWithParams = (
|
|
|
275
275
|
),
|
|
276
276
|
argument: argument,
|
|
277
277
|
params,
|
|
278
|
+
revalidate: bool,
|
|
278
279
|
) => {
|
|
279
280
|
let module(Config) = config
|
|
280
281
|
swrConfig->Swr.SwrConfig.mutateByKeyWithParams(
|
|
281
282
|
Array(Config.config(argument).key->Option.getUnsafe),
|
|
282
283
|
params,
|
|
283
|
-
|
|
284
|
+
revalidate,
|
|
284
285
|
)
|
|
285
286
|
}
|