MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / createFtp

Function createFtp

frontend/src/api/modules/toolbox.ts:92–96  ·  view source on GitHub ↗
(params: Toolbox.FtpCreate)

Source from the content-addressed store, hash-verified

90};
91
92export const createFtp = (params: Toolbox.FtpCreate) => {
93 let request = deepCopy(params) as Toolbox.FtpCreate;
94 encodeBase64Fields(request, ['password']);
95 return http.post(`/toolbox/ftp`, request);
96};
97
98export const updateFtp = (params: Toolbox.FtpUpdate) => {
99 let request = deepCopy(params) as Toolbox.FtpUpdate;

Callers

nothing calls this directly

Calls 3

deepCopyFunction · 0.90
encodeBase64FieldsFunction · 0.90
postMethod · 0.80

Tested by

no test coverage detected