daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function loadPermForm() {
  2.                     const endpoint = "/Discord/GetRole?";
  3.                     const serverId = `serverId=${@Model.Server.ServerId}`;
  4.                     const roleId = `roleId=${roleIdSelector.value}`;
  5.                     const uri = endpoint + serverId + '&' + roleId;
  6.                     window.fetch(uri).then((resp) => {
  7.                         resp.json().then((data) => {
  8.                             console.log(data);
  9.                         });
  10.                     });
  11.                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top