chore: improve id type of adminUrlUtil

This commit is contained in:
Alessio Gravili
2024-03-22 15:46:01 -04:00
parent cf8ac7e8b3
commit bc4f6aaf9c

View File

@@ -18,7 +18,7 @@ export class AdminUrlUtil {
return `${this.admin}/collections/${slug}` return `${this.admin}/collections/${slug}`
} }
edit(id: string): string { edit(id: number | string): string {
return `${this.list}/${id}` return `${this.list}/${id}`
} }