1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

fix usage metric typo in database

This commit is contained in:
Damodar Lohani 2022-08-15 05:50:36 +00:00
parent a5aa20ac5c
commit c0d05132df

View file

@ -568,7 +568,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId')
->desc('Get Collection')
->groups(['api', 'database'])
->label('scope', 'collections.read')
->label('usage.metric', 'collections.{scope}.requests.create')
->label('usage.metric', 'collections.{scope}.requests.read')
->label('usage.params', ['databaseId' => 'request.databaseId'])
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
->label('sdk.namespace', 'databases')