style: format HTML and TypeScript files for consistency
All checks were successful
All checks were successful
This commit is contained in:
parent
0eaccb4453
commit
d46ec45f4a
5 changed files with 72 additions and 34 deletions
|
@ -8,8 +8,8 @@ import { TransactionData } from '../model/TransactionData';
|
|||
export class TransactionService {
|
||||
private http: HttpClient = inject(HttpClient);
|
||||
|
||||
public getUsersTransactions(limit: number|null = null, offset: number|null = null) {
|
||||
let baseUrl = new URL(`${window.location.origin}/backend/user/transactions`);
|
||||
public getUsersTransactions(limit: number | null = null, offset: number | null = null) {
|
||||
const baseUrl = new URL(`${window.location.origin}/backend/user/transactions`);
|
||||
|
||||
if (limit !== null) {
|
||||
baseUrl.searchParams.append('limit', limit.toString());
|
||||
|
|
Reference in a new issue