Skip to content

Commit 1daca7f

Browse files
authored
fix expiraiton
1 parent 0c33ec9 commit 1daca7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ An arbitrary identifier you can assign so you know which cache is responsible fo
4040

4141
## defaultExpiration
4242

43-
The expiration to include when executing cache set commands. Can be overridden via `.set()`'s optional expiraiton param.
43+
The expiration to include when executing cache set commands. Can be overridden via `.set()`'s optional expiration param.
4444

4545
* type: int
4646
* default: 900
@@ -100,7 +100,7 @@ Retrieve the values belonging to a series of keys. If a key is not found, it wil
100100
* err: type: object
101101
* response: type: object, example: {key: 'value', key2: 'value2'...}
102102

103-
## .set(key, value, [expiraiton], [refresh(key, cb)], [callback])
103+
## .set(key, value, [expiration], [refresh(key, cb)], [callback])
104104

105105
> See the [Using Background Refresh](#using-background-refresh) section for more about the `refresh` and `callback` params.
106106

0 commit comments

Comments
 (0)