Fix spelling from last commit
This commit is contained in:
@ -60,7 +60,7 @@ func (app *application) createElection(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
w.Header().Set("Location", fmt.Sprintf("/elections/%v", electionId))
|
w.Header().Set("Location", fmt.Sprintf("/election/%v", electionId))
|
||||||
w.Write(res)
|
w.Write(res)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user