We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c4ab15 commit ae5e03fCopy full SHA for ae5e03f
1 file changed
pages/api/v1/repositories/[slug]/compact/index.ts
@@ -32,7 +32,7 @@ export default async function handler(
32
if (!permissions) {
33
return ApiResponse.unauthorized(res, 'Invalid API key');
34
}
35
- if (!permissions.read) {
+ if (!permissions.update) {
36
return ApiResponse.forbidden(res, 'Insufficient permissions');
37
38
0 commit comments