Skip to content

Commit f2c3229

Browse files
committed
refactor: remove notePublicOrUserInTeam policy for images
1 parent 6034562 commit f2c3229

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/presentation/http/router/upload.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,6 @@ const UploadRouter: FastifyPluginCallback<UploadRouterOptions> = async (fastify,
143143
key: string;
144144
};
145145
}>('/:notePublicId/:key', {
146-
config: {
147-
policy: [
148-
'notePublicOrUserInTeam',
149-
],
150-
},
151146
schema: {
152147
params: {
153148
key: {

0 commit comments

Comments
 (0)