Skip to content

Commit

Permalink
Update tokenGatedGroup.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 authored Jun 20, 2024
1 parent d301b5b commit 58103e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const validateGUILDData = async (condition: Rule): Promise<CriteriaValidationErr
return { ...errors, guildId: 'Guild ID is missing' };
} else {
try {
const response = await axios.get(` https://api.guild.xyz/v2/guilds/guild-page/${(data as GuildData).id}`);
const response = await axios.get(`https://api.guild.xyz/v2/guilds/guild-page/${(data as GuildData).id}`);

if (response.status !== 200) {
return { ...errors, guildId: 'Guild ID is missing' };
Expand Down

0 comments on commit 58103e6

Please sign in to comment.