Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
phpgeekfr committed Mar 16, 2019
1 parent f57c32d commit b084dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contracts/Organization.sol
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ contract Organization is Mortal {
// Request a membership for a given address, name, and surname
function requestMembership (string memory _firstName, string memory _lastName) public {
require(!accessRequests[msg.sender].exists, "A request has already been made for this address");
require(members[msg.sender].exists, "This user is already a member of the organization");
require(!members[msg.sender].exists, "This user is already a member of the organization");

// Creation of a membership request for this "person"
accessRequests[msg.sender].firstName = _firstName;
Expand Down

0 comments on commit b084dc0

Please sign in to comment.