summaryrefslogtreecommitdiff
path: root/src/api/endpoints.ts
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-03-03 02:20:34 +0900
committerGitHub <noreply@github.com>2017-03-03 02:20:34 +0900
commitd46c5a19e4e1b994425d204776eda4351b2712fb (patch)
treebb24d24d879f923aafdf68d122ee68b95c916a78 /src/api/endpoints.ts
parentfix(package): update body-parser to version 1.17.0 (diff)
downloadsharkey-d46c5a19e4e1b994425d204776eda4351b2712fb.tar.gz
sharkey-d46c5a19e4e1b994425d204776eda4351b2712fb.tar.bz2
sharkey-d46c5a19e4e1b994425d204776eda4351b2712fb.zip
Fix bug
Diffstat (limited to 'src/api/endpoints.ts')
-rw-r--r--src/api/endpoints.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts
index 7b9e0de573..e19297207f 100644
--- a/src/api/endpoints.ts
+++ b/src/api/endpoints.ts
@@ -340,7 +340,7 @@ const endpoints: Endpoint[] = [
limit: {
duration: ms('1hour'),
max: 120,
- minInterval: 1 * second
+ minInterval: ms('1second')
},
kind: 'post-write'
},