]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/feeds/feeds-command.ts
Refactor video views
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / feeds / feeds-command.ts
index 8031adf921b7753b9bc2a6ca1b68c0e923aa02c7..3c95f95363bf05c0ee02079428e1685aec367d4f 100644 (file)
@@ -1,5 +1,5 @@
 
-import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
+import { HttpStatusCode } from '@shared/models'
 import { AbstractCommand, OverrideCommandOptions } from '../shared'
 
 type FeedType = 'videos' | 'video-comments' | 'subscriptions'
@@ -19,6 +19,7 @@ export class FeedCommand extends AbstractCommand {
       path,
       query: format ? { format } : undefined,
       accept: 'application/xml',
+      implicitToken: false,
       defaultExpectedStatus: HttpStatusCode.OK_200
     })
   }
@@ -36,6 +37,7 @@ export class FeedCommand extends AbstractCommand {
       path,
       query,
       accept: 'application/json',
+      implicitToken: false,
       defaultExpectedStatus: HttpStatusCode.OK_200
     })
   }