Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

fix(changeset): use proper package for changeset (#663)

Corentin Thomassete1b055520243
diff --git a/.changeset/hungry-walls-brush.md b/.changeset/hungry-walls-brush.md
index 3787cfe0..c586c0fa 100644
--- a/.changeset/hungry-walls-brush.md
+++ b/.changeset/hungry-walls-brush.md
@@ -1,5 +1,5 @@
---
-"@papra/app-server": patch
+"@papra/docker": minor
---
Removed the possibility for unauthorized upload to another organization you're not member of
diff --git a/apps/papra-server/src/modules/documents/e2e/upload-documents.e2e.test.ts b/apps/papra-server/src/modules/documents/e2e/upload-documents.e2e.test.ts
index 52ece181..d08667d2 100644
--- a/apps/papra-server/src/modules/documents/e2e/upload-documents.e2e.test.ts
+++ b/apps/papra-server/src/modules/documents/e2e/upload-documents.e2e.test.ts
@@ -168,7 +168,7 @@ describe('documents e2e', () => {
{ loggedInUserId: 'usr_222222222222222222222222' },
);
- // expect(createDocumentResponse.status).to.eql(403);
+ expect(createDocumentResponse.status).to.eql(403);
expect(await createDocumentResponse.json()).to.eql({
error: {
code: 'user.not_in_organization',