Skip to content

Commit

Permalink
Fix typo with X-OADA-Ensure-Link header
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Jan 28, 2022
1 parent 95b71f8 commit 7e3ec67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oada/services/http-handler/src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ const plugin: FastifyPluginAsync<Options> = async (fastify, options) => {
) {
const path = request.requestContext.get('oadaPath')!;
const {
headers: { 'x-oada-ensure': _, 'content-length': _cl, ...headers },
headers: { 'x-oada-ensure-link': _, 'content-length': _cl, ...headers },
body,
} = request;
// Create a new resource?
Expand Down Expand Up @@ -647,8 +647,6 @@ const plugin: FastifyPluginAsync<Options> = async (fastify, options) => {
.code(204)
.send();
});

return Promise.resolve();
};

export default plugin;

0 comments on commit 7e3ec67

Please sign in to comment.