Skip to content

Commit

Permalink
fix: send back additional site info on create, avoid initial error (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbo committed Jan 24, 2025

Verified

This commit was signed with the committer’s verified signature.
drewbo Drew Bollinger
1 parent 95b1a15 commit a2e804e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/site.js
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ module.exports = wrapHandlers({
site,
});
await site.reload({
include: [Organization],
include: [Organization, SiteBranchConfig, BuildTask],
});
const siteJSON = siteSerializer.serializeNew(site);
return res.json(siteJSON);

0 comments on commit a2e804e

Please sign in to comment.