]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/logs/logs-command.ts
Add ability to view my followers
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / logs / logs-command.ts
index f7594734daa57876f8c8e33cf2b5714b112e0a1b..5912e814f3fd4c91e683002b35352ac456b7b3a0 100644 (file)
@@ -1,4 +1,4 @@
-import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
+import { HttpStatusCode } from '@shared/models'
 import { LogLevel } from '../../models/server/log-level.type'
 import { AbstractCommand, OverrideCommandOptions } from '../shared'
 
@@ -17,6 +17,7 @@ export class LogsCommand extends AbstractCommand {
 
       path,
       query: { startDate, endDate, level },
+      implicitToken: true,
       defaultExpectedStatus: HttpStatusCode.OK_200
     })
   }
@@ -34,6 +35,7 @@ export class LogsCommand extends AbstractCommand {
 
       path,
       query: { startDate, endDate },
+      implicitToken: true,
       defaultExpectedStatus: HttpStatusCode.OK_200
     })
   }