We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f57bb9 commit f53fa2aCopy full SHA for f53fa2a
ClassTranscribeServer/Controllers/CaptionsController.cs
@@ -166,7 +166,7 @@ public async Task<ActionResult<Caption>> AddCaption(Caption newCaption)
166
};
167
_context.Captions.Add(addedCaption);
168
await _context.SaveChangesAsync();
169
- return newCaption;
+ return addedCaption;
170
}
171
172
// POST: api/Captions/UpVote
0 commit comments