Skip to content

Commit b898af1

Browse files
fix: Remove unnecessary user Modrinth ID requirement from set version endpoint.
1 parent 9b92010 commit b898af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/modgarden/backend/handler/v1/discord/DiscordBotSubmissionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public static void setVersionModrinth(Context ctx) {
191191
}
192192

193193
User user = User.query(body.discordId, "discord");
194-
if (user == null || user.modrinthId().isEmpty()) {
194+
if (user == null) {
195195
ctx.status(422);
196196
ctx.result("Could not find a Mod Garden or Modrinth account linked to the specified Discord user.");
197197
return;

0 commit comments

Comments
 (0)