change: make query id to uuid
This commit is contained in:
parent
c0a0365406
commit
df231d6462
12 changed files with 119 additions and 20 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue