src/Database/JSON/JsonManager.js
/**
     * Write the updated schema in the file.
     *
     * @param {AxonJSON} schema AxonSchema
     * @returns {Promise<AxonJSON>} AxonSchema || null
     *
     * @memberof JsonManager
     */
Write the updated schema in the file.


Write the updated schema in the file .
async writeAxonSchema(schema) {
        schema.updatedAt = new Date();
        const res = await this.writeFile(this._axonPath, this.toString(schema) );
        if (res) {
            return schema;
        }
        return null;
    }
async writeAxonSchema ( schema ) { schema . updatedAt = new Date ( ) ; const res = await this . writeFile ( this . _axonPath , this . toString ( schema ) ) ; if ( res ) { return schema ; } return null ; }
Write the updated schema in the file.
Write the updated schema in the file .