db: add missing return argument