aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/search
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/server-commands/search
parente45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff)
downloadPeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip
Fix lint
Diffstat (limited to 'shared/server-commands/search')
-rw-r--r--shared/server-commands/search/search-command.ts2
1 files changed, 1 insertions, 1 deletions
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 })