POST /events/:eventId/publish maps to buildPublishTx, which only simulates a Soroban call and returns { unsignedXdr } — no event or DB row is created (that happens later in confirm-publish). With no @HttpCode override, it defaults to 201 Created, which is misleading for a build-only operation.
Suggested fix: Import HttpCode, HttpStatus from @nestjs/common and add @HttpCode(HttpStatus.OK) above the buildPublishTx handler.
POST /events/:eventId/publishmaps tobuildPublishTx, which only simulates a Soroban call and returns{ unsignedXdr }— no event or DB row is created (that happens later inconfirm-publish). With no@HttpCodeoverride, it defaults to201 Created, which is misleading for a build-only operation.Suggested fix: Import
HttpCode, HttpStatusfrom@nestjs/commonand add@HttpCode(HttpStatus.OK)above thebuildPublishTxhandler.