Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

Conversation

@LeonFLK
Copy link
Contributor

@LeonFLK LeonFLK commented Dec 13, 2019

fixes https://github.com/KILTprotocol/ticket/issues/174

Added optional 'creator' parameter to fromInputModel , to be used as owner property of the CType if not undefined, otherwise null.

There might be changes to the spec files required, to accomodate this change.

How to test:

setup local demo client and services, create a ctype:

Should be registered on /ctype on services with metaData.author equal to cType.owner and not be rejected by mongodb.

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)

@LeonFLK LeonFLK requested review from Dudleyneedham and tjwelde and removed request for tjwelde December 13, 2019 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants