mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Allow to get blob metadata without authorization (#9615)
Since getting the blob itself does not require authorization Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
@@ -204,7 +204,7 @@ export async function createServer (
|
||||
|
||||
// Blob meta
|
||||
|
||||
app.get('/meta/:workspace/:name', withAuthorization, withBlob, wrapRequest(ctx, 'getMeta', handleMetaGet))
|
||||
app.get('/meta/:workspace/:name', withBlob, wrapRequest(ctx, 'getMeta', handleMetaGet))
|
||||
|
||||
app.put('/meta/:workspace/:name', withAuthorization, withBlob, wrapRequest(ctx, 'putMeta', handleMetaPut))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user