Fix /api/applications query parameter from owner to user_id
cgen-5d3f05609ed4488cb4351ee1c0340cb3
This commit is contained in:
parent
46a4881bc3
commit
a89db320e0
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ export default function Admin() {
|
|||
setProjectApplicationsLoading(true);
|
||||
try {
|
||||
const response = await fetch(
|
||||
`/api/applications?owner=${encodeURIComponent(user.id)}`,
|
||||
`/api/applications?user_id=${encodeURIComponent(user.id)}`,
|
||||
);
|
||||
if (response.ok) {
|
||||
const data = await response.json();
|
||||
|
|
|
|||
Loading…
Reference in a new issue