Change api route to /api/private (#1189)

This commit is contained in:
Philip Molares 2021-04-15 22:10:15 +02:00 committed by GitHub
parent 344304f329
commit 29d9d49f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 11 additions and 11 deletions

View file

@ -31,7 +31,7 @@ describe('File upload', () => {
beforeEach(() => {
cy.intercept({
method: 'POST',
url: '/api/v2/media/upload'
url: '/api/private/media/upload'
}, {
statusCode: 201,
body: {
@ -86,7 +86,7 @@ describe('File upload', () => {
it('upload fails', () => {
cy.intercept({
method: 'POST',
url: '/api/v2/media/upload'
url: '/api/private/media/upload'
}, {
statusCode: 400
})