Skip to content

Commit

Permalink
Update src/writer/settings.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Chaitanya <[email protected]>
  • Loading branch information
wa0x6e and ChaituVR authored Jan 9, 2025
1 parent f6c333e commit 0a8424c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/writer/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function verify(body): Promise<any> {
const isAdmin = admins.includes(body.address.toLowerCase());
const newAdmins = (msg.payload.admins || []).map(admin => admin.toLowerCase());

if (msg.payload.domain && (!space || (!space.turbo && !space.domain))) {
if (msg.payload.domain && !space?.turbo && !space?.domain) {
return Promise.reject('domain is a turbo feature only');
}

Expand Down

0 comments on commit 0a8424c

Please sign in to comment.