Skip to content

Commit

Permalink
feat: update children
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoAcosta committed Nov 6, 2024
1 parent 63581f1 commit 0e0b4d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/questions/FixedQuestion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ contract FixedQuestion is Question, IFixedQuestion {
string[] memory _tags,
uint256 _deadline,
string[] memory _initialOptionTitles,
string[] memory _initialOptionDescriptions
) Question(_space, _points, _title, _description, _deadline, _tags) {
string[] memory _initialOptionDescriptions,
address _plasa
) Question(_space, _points, _title, _description, _deadline, _tags, _plasa) {
// Check if creator has permission to create fixed questions
if (!space.hasPermission(ISpaceAccessControl.PermissionName.CreateFixedQuestion, msg.sender)) {
revert NotAllowed(msg.sender, ISpaceAccessControl.PermissionName.CreateFixedQuestion);
Expand Down
5 changes: 3 additions & 2 deletions src/questions/OpenQuestion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ contract OpenQuestion is Question, IOpenQuestion {
string memory _title,
string memory _description,
string[] memory _tags,
uint256 _deadline
) Question(_space, _points, _title, _description, _deadline, _tags) {
uint256 _deadline,
address _plasa
) Question(_space, _points, _title, _description, _deadline, _tags, _plasa) {
questionType = QuestionType.Open;

// Check if creator has permission to create open questions
Expand Down

0 comments on commit 0e0b4d0

Please sign in to comment.