1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

fix resource type

This commit is contained in:
Damodar Lohani 2022-02-18 21:23:48 +05:45
parent 27a2e80ad1
commit 045ba04124

View file

@ -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,