changed request association in view

This commit is contained in:
Torsten Schulz
2024-09-25 18:18:52 +02:00
parent b88e7ba13a
commit f186aecc90

View File

@@ -51,7 +51,7 @@ export default {
async loadPendingApprovals() {
try {
const response = await apiClient.get(`/clubs/pending/${this.currentClub}`);
this.pendingUsers = response.data.map(entry => entry.User);
this.pendingUsers = response.data.map(entry => entry.user);
} catch (error) {
console.error('Fehler beim Laden der ausstehenden Anfragen:', error);
}