mirror of
https://github.com/strapi/strapi.git
synced 2025-08-31 12:23:05 +00:00
chore(content-manager): fix typo in code comment
This small change makes sure this line of code appears when searching for `plugins[i18n][locale]`. Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
This commit is contained in:
parent
44dc8b55b6
commit
402f6df180
@ -18,7 +18,7 @@ type TransformedQuery<TQuery extends Query> = Omit<TQuery, 'plugins'> & {
|
||||
/**
|
||||
* @description
|
||||
* Creates a valid query params object for get requests
|
||||
* ie. plugins[18n][locale]=en becomes locale=en
|
||||
* ie. plugins[i18n][locale]=en becomes locale=en
|
||||
*/
|
||||
const buildValidParams = <TQuery extends Query>(query: TQuery): TransformedQuery<TQuery> => {
|
||||
if (!query) return query;
|
||||
|
Loading…
x
Reference in New Issue
Block a user