From 63b97a2da2667fa219dcb6981cd1e16fa80a0678 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Fri, 20 Dec 2024 11:00:37 +0100 Subject: [PATCH] fix: fix singleton retrieve template --- gen/templates/singleton.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/templates/singleton.tpl b/gen/templates/singleton.tpl index f8d39688..0b541fc7 100644 --- a/gen/templates/singleton.tpl +++ b/gen/templates/singleton.tpl @@ -1,3 +1,3 @@ async retrieve(params?: QueryParamsRetrieve<##__RESOURCE_RESPONSE_CLASS__##>, options?: ResourcesConfig): Promise<##__RESOURCE_RESPONSE_CLASS__##> { - return this.resources.singleton<##__RESOURCE_RESPONSE_CLASS__##>({ type: ##__RESOURCE_CLASS__##.TYPE }, params, options) + return this.resources.singleton<##__RESOURCE_RESPONSE_CLASS__##>({ type: ##__RESOURCE_CLASS__##.TYPE }, params, options, this.path()) } \ No newline at end of file