mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
oops
This commit is contained in:
parent
237eae2154
commit
6ea6f0258c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ const { default: App } = require('../../../built/models/app');
|
|||
const { default: zip } = require('@prezzemolo/zip')
|
||||
|
||||
const migrate = async (app) => {
|
||||
const result = await User.update(app._id, {
|
||||
const result = await App.update(app._id, {
|
||||
$set: {
|
||||
'name_id': app.name_id.replace(/\-/g, '_'),
|
||||
'name_id_lower': app.name_id_lower.replace(/\-/g, '_')
|
||||
|
|
Loading…
Reference in a new issue