MCPcopy
hub / github.com/tolgee/tolgee-platform / usePutKey

Function usePutKey

webapp/src/service/TranslationHooks.ts:3–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { useApiMutation } from 'tg.service/http/useQueryApi';
2
3export const usePutKey = () =>
4 useApiMutation({
5 url: '/v2/projects/{projectId}/keys/{id}',
6 method: 'put',
7 });
8
9export const usePostKey = () =>
10 useApiMutation({

Callers 1

useEditServiceFunction · 0.90

Calls 1

useApiMutationFunction · 0.90

Tested by

no test coverage detected