feat: implement Database Manager module with encryption, CRUD operations, and migration management
This commit is contained in:
@ -98,9 +98,7 @@ export class QueryHandlerService {
|
||||
}
|
||||
|
||||
async createQuery(queryData: { projectToken: string; source: string }) {
|
||||
const project = await this.projectService.findByToken(
|
||||
queryData.projectToken
|
||||
);
|
||||
const project = await this.projectService.findById(queryData.projectToken);
|
||||
|
||||
if (!project) {
|
||||
throw new Error("Project not found");
|
||||
|
||||
Reference in New Issue
Block a user