aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:58:01 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 12:14:26 +0200
commitba2684ceddf9b76312635b9cddc6bf6975ce436a (patch)
treed7c9618b9a6f632029d809d8bf342adc26c85cc8 /shared
parente45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff)
downloadPeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip
Fix lint
Diffstat (limited to 'shared')
-rw-r--r--shared/server-commands/requests/requests.ts2
-rw-r--r--shared/server-commands/search/search-command.ts2
-rw-r--r--shared/server-commands/users/login-command.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/shared/server-commands/requests/requests.ts b/shared/server-commands/requests/requests.ts
index 95e4fe6b1..a08a6e0b9 100644
--- a/shared/server-commands/requests/requests.ts
+++ b/shared/server-commands/requests/requests.ts
@@ -52,7 +52,7 @@ function makeActivityPubGetRequest (url: string, path: string, expectedStatus =
52 return makeGetRequest({ 52 return makeGetRequest({
53 url, 53 url,
54 path, 54 path,
55 expectedStatus: expectedStatus, 55 expectedStatus,
56 accept: 'application/activity+json,text/html;q=0.9,\\*/\\*;q=0.8' 56 accept: 'application/activity+json,text/html;q=0.9,\\*/\\*;q=0.8'
57 }) 57 })
58} 58}
diff --git a/shared/server-commands/search/search-command.ts b/shared/server-commands/search/search-command.ts
index 0fbbcd6ef..a5b498b66 100644
--- a/shared/server-commands/search/search-command.ts
+++ b/shared/server-commands/search/search-command.ts
@@ -74,7 +74,7 @@ export class SearchCommand extends AbstractCommand {
74 ...options, 74 ...options,
75 75
76 search: { 76 search: {
77 search: search, 77 search,
78 sort: sort ?? '-publishedAt' 78 sort: sort ?? '-publishedAt'
79 } 79 }
80 }) 80 })
diff --git a/shared/server-commands/users/login-command.ts b/shared/server-commands/users/login-command.ts
index 143f72a59..54070e426 100644
--- a/shared/server-commands/users/login-command.ts
+++ b/shared/server-commands/users/login-command.ts
@@ -60,7 +60,7 @@ export class LoginCommand extends AbstractCommand {
60 const body = { 60 const body = {
61 client_id: this.server.store.client.id, 61 client_id: this.server.store.client.id,
62 client_secret: this.server.store.client.secret, 62 client_secret: this.server.store.client.secret,
63 username: username, 63 username,
64 response_type: 'code', 64 response_type: 'code',
65 grant_type: 'password', 65 grant_type: 'password',
66 scope: 'upload', 66 scope: 'upload',