change: make query id to uuid

This commit is contained in:
Julian Krauser 2025-03-26 09:10:08 +01:00
parent c0a0365406
commit df231d6462
12 changed files with 119 additions and 20 deletions

View file

@ -26,7 +26,7 @@ export default abstract class QueryStoreService {
* @description get queryStore by id
* @returns {Promise<query>}
*/
static async getById(id: number): Promise<query> {
static async getById(id: string): Promise<query> {
return await dataSource
.getRepository(query)
.createQueryBuilder("queryStore")