X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Frest%2Frest.post_update.php;fp=web%2Fcore%2Fmodules%2Frest%2Frest.post_update.php;h=8ed5a6dbff124f821c031a24e2ca98c7800da0ab;hp=6d45178804bb4aded4726c5076bdd15eaa13268f;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/rest/rest.post_update.php b/web/core/modules/rest/rest.post_update.php index 6d4517880..8ed5a6dbf 100644 --- a/web/core/modules/rest/rest.post_update.php +++ b/web/core/modules/rest/rest.post_update.php @@ -53,7 +53,7 @@ function rest_post_update_resource_granularity() { $resource_config_entity->set('configuration', [ 'methods' => array_keys($configuration), 'formats' => $configuration[$first_method]['supported_formats'], - 'authentication' => $configuration[$first_method]['supported_auth'] + 'authentication' => $configuration[$first_method]['supported_auth'], ]); $resource_config_entity->set('granularity', RestResourceConfigInterface::RESOURCE_GRANULARITY); $resource_config_entity->save();