pg-mvc-service 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -50,7 +50,7 @@ class RequestType extends ReqResType_1.default {
|
|
|
50
50
|
INVALID_BASE64: '{property}はBase64形式である必要があります。({value})',
|
|
51
51
|
INVALID_ENUM: '{property}は{enums}のいずれかである必要があります。({value})'
|
|
52
52
|
};
|
|
53
|
-
this.ERROR_MESSAGE = process.env.TZ === 'Tokyo
|
|
53
|
+
this.ERROR_MESSAGE = process.env.TZ === 'Asia/Tokyo' ? this.ERROR_MESSAGE_JAPAN : this.ERROR_MESSAGE_ENGLISH;
|
|
54
54
|
}
|
|
55
55
|
get Params() {
|
|
56
56
|
var _a;
|
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ export class RequestType extends ReqResType {
|
|
|
45
45
|
INVALID_BASE64: '{property}はBase64形式である必要があります。({value})',
|
|
46
46
|
INVALID_ENUM: '{property}は{enums}のいずれかである必要があります。({value})'
|
|
47
47
|
}
|
|
48
|
-
public readonly ERROR_MESSAGE = process.env.TZ === 'Tokyo
|
|
48
|
+
public readonly ERROR_MESSAGE = process.env.TZ === 'Asia/Tokyo' ? this.ERROR_MESSAGE_JAPAN : this.ERROR_MESSAGE_ENGLISH;
|
|
49
49
|
|
|
50
50
|
private params?: {[key: string]: any};
|
|
51
51
|
get Params(): {[key: string]: any} {
|