mariocraft987 / bark-coding

The source code of a Blockly Based coding language
https://bark.dumorando.com
GNU General Public License v3.0
12 stars 18 forks source link

[bug] attempting to invalidate user's pfp invalidates my own instead #256

Open sillybreakfast opened 3 weeks ago

sillybreakfast commented 3 weeks ago

Operating System

Browser(s)

What happened

i clicked the "[admin] invalidate pfp" button and instead of invalidating theirs it invalidated my own

Expected Behavior

No response

Screenshots

No response

mariocraft987 commented 3 weeks ago

on your profile?????

mariocraft987 commented 3 weeks ago

oh shit, thats a problem

dumorando commented 3 weeks ago

on the request in the network tab right click copy as js fetch and put it here

sillybreakfast commented 3 weeks ago

on the request in the network tab right click copy as js fetch and put it here

there's two things. the two methods are "options" and "put"

dumorando commented 3 weeks ago

copy the one for the put request. options is cors preflight request

sillybreakfast commented 3 weeks ago

copy the one for the put request. options is cors preflight request

copy what? i can

dumorando commented 3 weeks ago

copy as fetch

dumorando commented 3 weeks ago

hmmm this is a serverside issue then this should be an issue in dumorando/bapiv2

only issue is that the backend isnt really maintained

sillybreakfast commented 3 weeks ago

only issue is that the backend isnt really maintained

why

dumorando commented 3 weeks ago

absolute pain to maintain and deploying new updates isnt fun