mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 07:14:56 +00:00
19 lines
324 B
Lua
19 lines
324 B
Lua
-- Save profile form handler
|
|
|
|
require("profile.types")
|
|
|
|
local M = {}
|
|
|
|
---Processes profile form submission and returns response
|
|
---@param form FormData
|
|
---@return ProfileResponse
|
|
function M.saveProfile(form)
|
|
return {
|
|
success = true,
|
|
action = "update_profile",
|
|
email = form.email
|
|
}
|
|
end
|
|
|
|
return M
|