-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change spelling (m/M)etaData -> (m/M)etadata
- Loading branch information
1 parent
4dcc7c0
commit 19dc5db
Showing
7 changed files
with
37 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { getMetaData } from "@/server/handlers/metadata"; | ||
import { getMetadata } from "@/server/handlers/metadata"; | ||
import { defineRApiEventHandler } from "~/server/utils/defineRApiEventHandler"; | ||
import type { MetaDataResponse } from "@/types/daedalusApiResponseTypes"; | ||
import type { MetadataResponse } from "@/types/daedalusApiResponseTypes"; | ||
|
||
export default defineRApiEventHandler( | ||
async (event): Promise<MetaDataResponse> => { | ||
// Delegate to getMetaData so that the logic can be unit-tested. | ||
const metaDataResponse = await getMetaData(event); | ||
async (event): Promise<MetadataResponse> => { | ||
// Delegate to getMetadata so that the logic can be unit-tested. | ||
const metadataResponse = await getMetadata(event); | ||
|
||
return metaDataResponse; | ||
return metadataResponse; | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters