Xpress Publishing Artists Post Request

I’m working on the xpress publishing capstone project as part of the web development path: https://www.codecademy.com/paths/web-development/tracks/building-a-persistent-api/modules/persistent-api-cumulative-projects/projects/x-press-publishing

I’ve implemented the artists post request, but I am failing two of the tests and when I try to make a post request using Postman, I get sent back an empty object {}

These are the tests I’m failing:
13) should return the newly-created artist after artist creation

14) should set new artists as currently-employed by default

But I’m having trouble understanding why as I have implemented code to handle both of the above.

Here is my artists.js:

const express = require('express'); 
const artistsRouter = express.Router(); 
const sqlite3 = require('sqlite3');  
const db = new sqlite3.Database(process.env.TEST_DATABASE || './database.sqlite');

artistsRouter.get('/', (req, res, next) => {
    db.all("SELECT * FROM Artist WHERE Artist.is_currently_employed = 1", 
    (err, rows) => {
        if(err) {
            next(err); 
        } else {
            res.status(200).json({ artists: rows })
        }
    })
})

artistsRouter.param('artistId', (req, res, next, artistId) => {
   db.get("SELECT * FROM Artist WHERE Artist.id = $artistId", 
   {
       $artistId: artistId
   }, 
   (err, row) => {
       if(err) { 
       next(err); 
       } else if (row) {
       req.artist = row; 
       next();  
       } else {
        res.status(404).send();
       }

   })
})

artistsRouter.get('/:artistId', (req, res, next) => {
    res.status(200).json({ artist: req.artist })
})

artistsRouter.post('/', (req, res, next) => {
 
    const name = req.body.artist.name;
    console.log(req.body); 
    const dateOfBirth = req.body.artist.dateOfBirth; 
    const biography = req.body.artist.biography; 
    const isCurrentlyEmployed = req.body.artist.isCurrentlyEmployed === 0 ? 0 : 1; 
    if (!name || !dateOfBirth || !biography) {
        res.status(400).send(); 
    } 

    const sql = 'INSERT INTO Artist (name, date_of_birth, biography, is_currently_employed) VALUES ($name, $dateOfBirth, $biography, $isCurrentlyEmployed)'; 
    const values =  {
        $name: name, 
        $dateOfBirth: dateOfBirth, 
        $biography: biography, 
        $isCurrentlyEmployed: isCurrentlyEmployed
        }
    
    db.run(sql, values, function (err, row) {
        if(err) {
        next(err); 
        } 
        else {
            db.get(`SELECT * FROM Artist WHERE Artist.id = ${this.lastId}`,  
            (error, artist) => {
                res.status(201).json({ artist: artist })
            }
            )
        
        }
    }
    )
})

module.exports = artistsRouter;

Thanks so much in advance!

EDIT:
I fixed the problem, and wanted to post it here for anyone else who might be struggling

${this.lastId} needs to be ${this.lastID}