diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 17:58:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 17:58:09 +0200 |
commit | 8df87ce792be7b0ccdad4cb703e5ca3be66d214a (patch) | |
tree | f28b8705da384f99009f1a63942616aa244d6552 /server/tests/utils/clients.ts | |
parent | fdbda9e3d6564ec908733c7019305f6a3c363a9f (diff) | |
download | PeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.tar.gz PeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.tar.zst PeerTube-8df87ce792be7b0ccdad4cb703e5ca3be66d214a.zip |
Convert real world tools to typescript
Diffstat (limited to 'server/tests/utils/clients.ts')
-rw-r--r-- | server/tests/utils/clients.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/clients.ts b/server/tests/utils/clients.ts index 22676bb38..a8c5b51c5 100644 --- a/server/tests/utils/clients.ts +++ b/server/tests/utils/clients.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as request from 'supertest' | 1 | import * as request from 'supertest' |
2 | 2 | ||
3 | function getClient (url: string) { | 3 | function getClient (url: string) { |
4 | const path = '/api/v1/clients/local' | 4 | const path = '/api/v1/oauth-clients/local' |
5 | 5 | ||
6 | return request(url) | 6 | return request(url) |
7 | .get(path) | 7 | .get(path) |