Denhac / denhac-webhooks

This repo holds some of our membership automation stuff. It listens to webhooks from the main wordpress site
7 stars 2 forks source link

Simplify USER_CHECK in EquipmentAuthorization::handle #41

Open chungl opened 5 months ago

chungl commented 5 months ago

I took a shortcut when bypassing some deprecated functionality, and forgot to clean it up.

The USER_CHECK constant is no longer required. I can't comment on the line where it's declared, for some reason.

_Originally posted by @Jnesselr in https://github.com/Denhac/denhac-webhooks/pull/38#discussion_r1446017430_