fix resource type
This commit is contained in:
parent
27a2e80ad1
commit
045ba04124
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,7 @@ App::post('/v1/functions/:functionId/deployments')
|
|||
'$read' => ['role:all'],
|
||||
'$write' => ['role:all'],
|
||||
'resourceId' => $function->getId(),
|
||||
'resourceType' => 'functions',
|
||||
'dateCreated' => time(),
|
||||
'entrypoint' => $entrypoint,
|
||||
'path' => $path,
|
||||
|
@ -610,6 +611,7 @@ App::post('/v1/functions/:functionId/deployments')
|
|||
'$read' => ['role:all'],
|
||||
'$write' => ['role:all'],
|
||||
'resourceId' => $function->getId(),
|
||||
'resourceType' => 'functions',
|
||||
'dateCreated' => time(),
|
||||
'entrypoint' => $entrypoint,
|
||||
'path' => $path,
|
||||
|
|
Loading…
Reference in a new issue