Skip to content

Commit

Permalink
Merge pull request #146 from MarcusT96/feature/paymentoptions
Browse files Browse the repository at this point in the history
Stopped infinite load loop
  • Loading branch information
loken156 authored May 16, 2024
2 parents 5ee6ca1 + df1a895 commit 645716e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Client/src/components/PaymentOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function PaymentOptions() {
setPaymentInfo(data)
}
load()
},)
}, [])

function censorCard(cardNumber) {
if (cardNumber) {
Expand Down
2 changes: 1 addition & 1 deletion Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using MySql.Data.MySqlClient;
using System.Data;

State state = new("server=localhost;port=3306;uid=root;pwd=batman01;database=mystery_inc");
State state = new("server=localhost;port=3306;uid=root;pwd=mypassword;database=mystery_inc");

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleton(state);
Expand Down

0 comments on commit 645716e

Please sign in to comment.