]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/utils/requests/requests.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / server / tests / utils / requests / requests.ts
index eb02cf9e63fe06164b9b8b8a85e798d7caf31389..840072430997efed6a0641eb1e9a278d744b0aef 100644 (file)
@@ -99,7 +99,7 @@ function makePostBodyRequest (options: {
 function makePutBodyRequest (options: {
   url: string,
   path: string,
-  token: string,
+  token?: string,
   fields: { [ fieldName: string ]: any },
   statusCodeExpected?: number
 }) {