From 92e71451eb17c8bfa869c21677de9fa6498099f4 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 15 Jun 2018 19:39:57 +0900 Subject: [PATCH] ing --- projects/loafer/ng-rpc/package.json | 2 +- projects/loafer/ng-rpc/src/lib/subscribe/subscribe.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`);