Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
fix id/uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
briancao committed Oct 26, 2022
1 parent 8b64ef1 commit 1d6f158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/forms/WebsiteEditForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
const [message, setMessage] = useState();

const handleSubmit = async values => {
const { id: websiteId } = values;
const { websiteUuid: websiteId } = values;

const { ok, data } = await post(websiteId ? `/websites/${websiteId}` : '/websites', values);

Expand Down

0 comments on commit 1d6f158

Please sign in to comment.