Fix for Copying
This commit is contained in:
@@ -134,11 +134,11 @@ export const useEntities = (
|
||||
const selectSingle = async (
|
||||
idToEq: string | number,
|
||||
select: string = "*",
|
||||
withInformation: boolean = false
|
||||
withInformation: boolean = true
|
||||
) => {
|
||||
if (!idToEq) return null
|
||||
|
||||
const res = await useNuxtApp().$api(withInformation ? `/api/resource/${relation}/${idToEq}` : `/api/resource/${relation}/${idToEq}`, {
|
||||
const res = await useNuxtApp().$api(withInformation ? `/api/resource/${relation}/${idToEq}` : `/api/resource/${relation}/${idToEq}/true`, {
|
||||
method: "GET",
|
||||
params: { select }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user