Skip to content

Commit

Permalink
chore: remove outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Apr 10, 2024
1 parent cf68de7 commit 0c3c074
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/backend/server/src/plugins/copilot/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@nestjs/graphql';
import { SafeIntResolver } from 'graphql-scalars';

import { CurrentUser, Public } from '../../core/auth';
import { CurrentUser } from '../../core/auth';
import { QuotaService } from '../../core/quota';
import { UserType } from '../../core/user';
import { PermissionService } from '../../core/workspaces/permission';
Expand Down Expand Up @@ -237,7 +237,6 @@ export class CopilotResolver {
);
}

@Public()
@Mutation(() => String, {
description: 'Create a chat session',
})
Expand Down Expand Up @@ -274,7 +273,6 @@ export class CopilotResolver {
return session;
}

@Public()
@Mutation(() => String, {
description: 'Create a chat message',
})
Expand Down

0 comments on commit 0c3c074

Please sign in to comment.