Skip to content

Instantly share code, notes, and snippets.

Blake Yarbrough LanguidSquid

Block or report user

Report or block LanguidSquid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LanguidSquid
LanguidSquid / actions.js
Created Oct 25, 2017
here is the offending code from the downvotePost method
View actions.js
export function downvotePost(id) {
var myHeaders = { headers: { 'Authorization': 'cakelolgarbage', 'Content-Type': 'application/json' }}
var requestBody = { 'option': 'downVote'}
var myInit = { method: 'POST',
headers: myHeaders,
body: requestBody,
mode: 'cors',
cache: 'default' }
You can’t perform that action at this time.