Skip to content

Commit

Permalink
fix: fix singleton retrieve template
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Dec 20, 2024
1 parent 006b464 commit 63b97a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen/templates/singleton.tpl
Original file line number Diff line number Diff line change
@@ -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())
}

0 comments on commit 63b97a2

Please sign in to comment.