Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-Santana-j committed Oct 27, 2024
1 parent 3cc329f commit 2a155ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/payment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { credential } = require("firebase-admin");

let serverID = location.pathname.replace('/payment/', "")

Expand Down Expand Up @@ -253,6 +254,7 @@ $.ajax({
traditional: true,
url: '/subscription/create',
type: 'POST',
credential: 'include',
contentType: 'application/json',
data: JSON.stringify({
serverID: serverID,
Expand All @@ -279,6 +281,7 @@ $.ajax({
traditional: true,
url: '/pix/create',
type: 'POST',
credential: 'include',
contentType: 'application/json',
data: JSON.stringify({
serverID: serverID,
Expand Down

0 comments on commit 2a155ea

Please sign in to comment.