Skip to content

Commit

Permalink
remove team_members from register args
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanglen committed Oct 23, 2023
1 parent d026216 commit 7ec22d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/potlock/widget/Project/CreateForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const handleCreateProject = (e) => {
},
},
};
const registerArgs = { name: state.name, team_members: [] };
const registerArgs = { name: state.name };
const transactions = [
// set data on social.near
{
Expand All @@ -437,6 +437,7 @@ const handleCreateProject = (e) => {
deposit: Big(JSON.stringify(registerArgs).length * 16).mul(Big(10).pow(20)),
args: registerArgs,
},
// TODO: register on near horizon
];
const res = Near.call(transactions);
};
Expand Down
3 changes: 2 additions & 1 deletion build/potlock/src/Project/CreateForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const handleCreateProject = (e) => {
},
},
};
const registerArgs = { name: state.name, team_members: [] };
const registerArgs = { name: state.name };
const transactions = [
// set data on social.near
{
Expand All @@ -437,6 +437,7 @@ const handleCreateProject = (e) => {
deposit: Big(JSON.stringify(registerArgs).length * 16).mul(Big(10).pow(20)),
args: registerArgs,
},
// TODO: register on near horizon
];
const res = Near.call(transactions);
};
Expand Down

0 comments on commit 7ec22d8

Please sign in to comment.