diff options
| author | Pitu <[email protected]> | 2020-05-11 00:57:56 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-05-11 00:57:56 +0900 |
| commit | 496477ebda3f6c347a9944e22daae447d15ebc31 (patch) | |
| tree | c9449d39ec3f15a3a69a790fbe4c6fce60811b1d /src/api/databaseMigration.js | |
| parent | chore: cleanup and todo (diff) | |
| download | host.fuwn.me-496477ebda3f6c347a9944e22daae447d15ebc31.tar.xz host.fuwn.me-496477ebda3f6c347a9944e22daae447d15ebc31.zip | |
Feature: enable apiKey access to uploads and album fetching for the uploader/sharex/3rd party
Diffstat (limited to 'src/api/databaseMigration.js')
| -rw-r--r-- | src/api/databaseMigration.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/databaseMigration.js b/src/api/databaseMigration.js index 75611f3..5cf4b39 100644 --- a/src/api/databaseMigration.js +++ b/src/api/databaseMigration.js @@ -51,7 +51,7 @@ const start = async () => { password: user.password, enabled: user.enabled == 1 ? true : false, isAdmin: false, - apiKey: user.token, // Is this the best way to do it? + apiKey: user.token, passwordEditedAt: now, apiKeyEditedAt: now, createdAt: now, |