-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #978 from OpenSignLabs/raktima-opensignlabs-patch-11
fix: ip address missing issue in the completion certificate of document originator using public-sign flow
- Loading branch information
Showing
5 changed files
with
55 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
apps/OpenSignServer/databases/migrations/20240726114557-update_contracts_template_cjs.cjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* | ||
* @param {Parse} Parse | ||
*/ | ||
exports.up = async (Parse) => { | ||
// TODO: set className here | ||
const className = 'contracts_Template'; | ||
const schema = new Parse.Schema(className); | ||
schema.addString('OriginIp'); | ||
|
||
// TODO: Set the schema here | ||
// Example: | ||
// schema.addString('name').addNumber('cash'); | ||
|
||
return schema.update(); | ||
}; | ||
|
||
/** | ||
* | ||
* @param {Parse} Parse | ||
*/ | ||
exports.down = async (Parse) => { | ||
// TODO: set className here | ||
const className = 'contracts_Template'; | ||
const schema = new Parse.Schema(className); | ||
schema.deleteField('OriginIp'); | ||
// TODO: Set the schema here | ||
// Example: | ||
// schema.deleteField('name').deleteField('cash'); | ||
|
||
return schema.update(); | ||
}; |