Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Unwatch all repos in an organisation
var auth_token = $("input[name='authenticity_token']")[0].value;
$.post("/notifications/subscribe", {
authenticity_token : auth_token,
do : 'included',
'repository_id' : $("form.js-unsubscribe-form #repository_id", $(this).parent("li")).val()

This comment has been minimized.

Copy link
Owner Author

CyborgPatrick commented Aug 5, 2014

When run, unwatches all repos in 'THEORG' organisation


This comment has been minimized.

Copy link

AbhimanyuAryan commented Jul 26, 2018

looks like this is some jquery code. Where do I execute it? Creating unwatchAll.js on my machine but how do I execute this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.