Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function loadPermForm() {
- const endpoint = "/Discord/GetRole?";
- const serverId = `serverId=${@Model.Server.ServerId}`;
- const roleId = `roleId=${roleIdSelector.value}`;
- const uri = endpoint + serverId + '&' + roleId;
- window.fetch(uri).then((resp) => {
- resp.json().then((data) => {
- console.log(data);
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement