HangarMC / Hangar

A plugin repository used for paper plugins
https://hangar.papermc.io/
MIT License
249 stars 65 forks source link

Reviewing a project makes a weird request that results in 404 #1374

Closed Nacioszeczek closed 2 months ago

Nacioszeczek commented 2 months ago

Observed/problematic behavior

Clicking Review at https://hangar.papermc.io/admin/approval/versions causes a request to https://hangar.papermc.io/api/internal/projects/project/undefined which fails with HTTP 404 sending an unnecessary toast notification to the user

Expected behavior

No toast notification

Steps to reproduce

  1. https://hangar.papermc.io/admin/approval/versions
  2. Click Review

Other

https://canary.discord.com/channels/289587909051416579/1098191715925504130/1254516032337608715