Merge pull request #8038 from ItzNotABug/fix-7999-internal-id-for-querying-deployments
Fix: Use `resourceInternalId` for Querying Function Deployments
This commit is contained in:
commit
a30d06bc58
|
@ -1282,7 +1282,7 @@ App::get('/v1/functions/:functionId/deployments')
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set resource queries
|
// Set resource queries
|
||||||
$queries[] = Query::equal('resourceId', [$function->getId()]);
|
$queries[] = Query::equal('resourceInternalId', [$function->getInternalId()]);
|
||||||
$queries[] = Query::equal('resourceType', ['functions']);
|
$queries[] = Query::equal('resourceType', ['functions']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue