🐛 Bug fix on wrong order of parameters in query
This commit is contained in:
parent
2470c4ac53
commit
c55d0579f5
@ -30,7 +30,7 @@ func getPost(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
area := segments[0]
|
area := segments[0]
|
||||||
alias := segments[1]
|
alias := segments[1]
|
||||||
item, err = services.GetPostByAlias(tx, area, alias)
|
item, err = services.GetPostByAlias(tx, alias, area)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user