Skip to content

Commit

Permalink
fix: use default network instead of space network for delete-space
Browse files Browse the repository at this point in the history
snapshot-labs/sx-monorepo#1218 (comment)

We want to allow only mainnet Safes to delete spaces, similar to settings
  • Loading branch information
ChaituVR authored Feb 26, 2025
1 parent 63420e0 commit a9519d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ingestor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default async function ingestor(req) {
}

let aliased = false;
if (!['settings', 'alias', 'profile'].includes(type)) {
if (!['settings', 'alias', 'profile', 'delete-space'].includes(type)) {
if (!message.space) return Promise.reject('unknown space');

try {
Expand Down

0 comments on commit a9519d7

Please sign in to comment.