server/api: fix finish reservation