Skip to content

Commit e4cb0b8

Browse files
committed
bro what am i doing
1 parent 311c945 commit e4cb0b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type ApiError = "InternalError" | "NetworkError" | "ServerError" | "UnexpectedRe
6161
const WeatherSchema = z.object({ ... })
6262
type Weather = z.infer<typeof WeatherSchema>
6363

64-
function fetchWeather(): Promise<Result<Weather, ApiError>> {
64+
async function fetchWeather(): Promise<Result<Weather, ApiError>> {
6565
const res = await tryp(fetch("/api/weather"))
6666
if (res.isErr()) {
6767
return err("NetworkError")

0 commit comments

Comments
 (0)