diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:32:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:41:27 +0100 |
commit | fd206f0b2d7e5c8e00e2817266d90ec54f79e1da (patch) | |
tree | 86b096cf2abd7eb49b892de1c9be855f45a41a9c /server/tests/utils/requests | |
parent | 9581cabc596acb18c0ad86bcf3a07c2b45e8e47e (diff) | |
download | PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.gz PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.zst PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.zip |
Add ability to update some configuration keys
Diffstat (limited to 'server/tests/utils/requests')
-rw-r--r-- | server/tests/utils/requests/requests.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/requests/requests.ts b/server/tests/utils/requests/requests.ts index eb02cf9e6..840072430 100644 --- a/server/tests/utils/requests/requests.ts +++ b/server/tests/utils/requests/requests.ts | |||
@@ -99,7 +99,7 @@ function makePostBodyRequest (options: { | |||
99 | function makePutBodyRequest (options: { | 99 | function makePutBodyRequest (options: { |
100 | url: string, | 100 | url: string, |
101 | path: string, | 101 | path: string, |
102 | token: string, | 102 | token?: string, |
103 | fields: { [ fieldName: string ]: any }, | 103 | fields: { [ fieldName: string ]: any }, |
104 | statusCodeExpected?: number | 104 | statusCodeExpected?: number |
105 | }) { | 105 | }) { |