mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
fix: notification date
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
26cf036a94
commit
af99dd8887
6 changed files with 7 additions and 11 deletions
|
|
@ -144,7 +144,7 @@ namespace OCA\Libresign;
|
|||
* password?: LibresignSignatureMethodPassword,
|
||||
* }
|
||||
* @psalm-type LibresignNotify = array{
|
||||
* date: int,
|
||||
* date: string,
|
||||
* method: "activity"|"notify"|"mail",
|
||||
* }
|
||||
* @psalm-type LibresignSigner = array{
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ class RequestSignatureService {
|
|||
displayName: $user['displayName'] ?? '',
|
||||
description: $user['description'] ?? '',
|
||||
// Only notify if wasn't notified iet
|
||||
notify: $user['notify'] ? false : true,
|
||||
notify: !empty($user['notify']) ? false : true,
|
||||
fileId: $fileId,
|
||||
);
|
||||
}
|
||||
|
|
@ -217,7 +217,7 @@ class RequestSignatureService {
|
|||
displayName: $user['displayName'] ?? '',
|
||||
description: $user['description'] ?? '',
|
||||
// Only notify if wasn't notified iet
|
||||
notify: $user['notify'] ? false : true,
|
||||
notify: !empty($user['notify']) ? false : true,
|
||||
fileId: $fileId,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -473,8 +473,7 @@
|
|||
],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string",
|
||||
|
|
|
|||
|
|
@ -410,8 +410,7 @@
|
|||
],
|
||||
"properties": {
|
||||
"date": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
"type": "string"
|
||||
},
|
||||
"method": {
|
||||
"type": "string",
|
||||
|
|
|
|||
|
|
@ -1173,8 +1173,7 @@ export type components = {
|
|||
type: string;
|
||||
};
|
||||
Notify: {
|
||||
/** Format: int64 */
|
||||
date: number;
|
||||
date: string;
|
||||
/** @enum {string} */
|
||||
method: "activity" | "notify" | "mail";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1035,8 +1035,7 @@ export type components = {
|
|||
type: string;
|
||||
};
|
||||
Notify: {
|
||||
/** Format: int64 */
|
||||
date: number;
|
||||
date: string;
|
||||
/** @enum {string} */
|
||||
method: "activity" | "notify" | "mail";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue