diff --git a/projects/loafer/ng-rpc/package.json b/projects/loafer/ng-rpc/package.json index 2d92df8..07e3cb1 100644 --- a/projects/loafer/ng-rpc/package.json +++ b/projects/loafer/ng-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@loafer/ng-rpc", - "version": "0.0.3", + "version": "0.0.4", "repository": { "type": "git", "url": "https://git.loafle.net/loafer/ng.git" diff --git a/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts b/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts index e87fa68..1bf5c67 100644 --- a/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts +++ b/projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts @@ -152,7 +152,7 @@ export class RPCSubscribeService { results.push(Boolean(param)); break; case 'Date': - results.push(new Date(param)); + results.push(new Date(Number(param))); break; case 'Function': throw new SubscriberParameterError(`Function type [${indexI}] is not allowed`);